Operation Timeout is the maximum time in seconds during which a clustered operation must be completed, otherwise the operation will fail. Default Timeout value is 60 seconds and cannot be less than that. Operation Timeout can be changed in the following ways:
Using NCache Web Manager
Launch NCache Web Manager by browsing to http://localhost:8251 (Windows) or
<server-ip>:8251(Windows + Linux).
In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to configure.
Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Cluster Settings in the left bar.
Change the Operation timeout.
- Click on Save Changes to apply this configuration to the cache.
Manually Editing NCache Configuration
Make sure the cache is stopped before making any configuration changes.
- Specify operation timeout through config.ncconf by specifying the
operation-timeoutkey in the
<cache-settings ...> <cache-topology topology="partitioned"> <cluster-settings operation-timeout="60sec" stats-repl-interval="1sec" use-heart-beat="True"> ... </cluster-settings> </cache-topology> </cache-settings>
- Once changes are made, start the cache and restart NCache service.