Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

<locktimeout> configuration option to set blocking lock timeout

In V2 and later, a new configuration option, <locktimeout>, sets the blocking lock timeout. For example: <locktimeout>15</locktimeout> sets the timeout for blocking locks to 15 seconds.

  • If <locktimeout> is set to a value greater than 0, an operation attempting to acquire a blocking lock on a locked record returns after <locktimeout> seconds with a locked error.
  • If <locktimeout> is set to 0 (default), an operation attempting to acquire a blocking lock on a locked record waits until the record becomes available.

TOCIndex