Setting Exclusive Lock Timeout Duration
You can specify how long a process should wait before timing out by modifying the neo4j properties file. The default is 10 seconds, or 10,000 milliseconds.
- Open the file <Spectrumâ„¢ Technology Platform install path>/server/modules/hub/db/neo4j.properties.
- Navigate to the ha.wait.for.exclusive.lock.timeout line.
- Enter the duration, in milliseconds, that you want to wait for the lock to be released or the process to time out. A value of 0 milliseconds will cause an immediate timeout, and leaving this property blank will cause the server to wait indefinitely.
Note: If a model is currently in use with the Concurrent
writes write mode selected, and a subsequent process is attempted with
the Exclusive lock write mode selected, the model will be locked
and the latter process will time out according to the settings made here.