Operation Timeout is the maximum time in seconds during which a clustered operation must be completed, otherwise, the operation will fail. The default Timeout value is 60 seconds and cannot be less than that. The Operation Timeout can be changed in the following ways:
Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251on Windows and 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
Ensure the cache stops 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 the NCache Service.