Task Engine 10.7 | Task Engine Webhelp | webMethods Task Engine User's Guide | Configuring the Task Engine Environment | About Task Engine Optional Settings | Task Lock Timeout Values
 
Task Lock Timeout Values
These options specify both the time that the Task Engine will wait to obtain a lock on a task instance, as well as the duration of the lock. When a task is updated from any location (for example, from the My webMethods interface, from a task event, or from a remote service), the Task Engine applies a cluster-wide lock on the task instance prior to updating it to ensure all updates are serial.
*-Dtask.lock.wait.timeout=<wait time in milliseconds> Use this option to specify the amount of time that the Task Engine waits to obtain a lock on a task instance. The default value is 10000 milliseconds. The Task Engine will be unable to obtain a lock if a lock is already applied to the task instance by an update operation initiated in a separate thread or cluster node. If a lock cannot be obtained within this timeout period, the update operation fails.
*-Dtask.lock.valid.time=<lock duration in milliseconds> Use this option to specify the duration of the lock period. The default value is 60000 milliseconds.