timeout
This option sets the amount of time the lock manager allows an unsatisfied lock request to wait on the lock request queue. The number of seconds to wait is specified by secs. A value of 'Inf'
or -1
indicates that no lock requests are set to timeout (that is, requests wait forever). A value of 0 causes lock requests to time out if they cannot be granted immediately.
- Default Value
- If the
timeout
option is not defined, the default value of10
is used.
- Example
-
timeout=10
- Database Configuration Options
This option key is associated with the RDM_DB handle (or RDM_CPP::Db for C++) and can be set using one of the following functions:
- SQLSetConnectAttr()
- rdm_dbSetOption()
- rdm_dbSetOptions()
- RDM_CPP::Db::SetOption()
- RDM_CPP::Db::SetOptions()