Operation Timeout
Operation Timeout is the maximum time in seconds during which a clustered operation must be completed, otherwise, the operation will fail.
Note
This feature is also available in the NCache Community Edition.
The default Operation 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>:8251
on 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 present in the Advanced Cluster Options section.
- Click on Save Changes present at the bottom of the page to apply this configuration to the cache.
Manually Editing NCache Configuration
You can manually edit the NCache configuration as expalined below:
Important
Ensure the cache stops before making any configuration changes.
- Specify operation timeout through config.ncconf by specifying the
operation-timeout
in the<cluster-settings>
tag:
<cache-topology topology="partitioned-replica">
<cluster-setting operation-timeout="60sec" stats-repl-interval="60sec" use-heart-beat="False">
...
</cluster-setting>
</cache-topology>
- Once changes are made, start the cache, and restart the NCache Service.
See Also
Ports
Statistic Replication Interval
Connection Retries
Retry Interval