setLockTimeout

abstract fun setLockTimeout(millis: Int, database: String?)(source)

Sets the duration, in milliseconds, this connection waits to obtain a file lock on database before failing. Does nothing if the VFS does not support the option.

Throws

if writing the option fails.