set_db_timeout


Description:

public void set_db_timeout (uint timeout_ms)

Sets the timeout for database operations.

This tells the library how long it is allowed to block while waiting for a locked DB to become accessible. Higher values mean a higher chance of successful reads, but also mean that the execution might be blocked for a longer time. The default is 5 seconds.

Parameters:

this

the Manager.

timeout_ms

the new timeout, in milliseconds.