set_timeout

Sets timeout values, in microseconds, for locks or transactions in the database environment, the wait time for a process to exit the environment when DB_REGISTER recovery is needed, and how frequently to check for failed processes during mutex waits.

The syntax for setting timeout value for database environment's lock, before recovery is started, and transaction is as follows:

For more information, see DB_ENV->set_timeout() .