setLockTimeout

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

Sets the duration, in milliseconds, before failing when attempting to obtain a file lock using the xLock or xShmLock methods of the VFS. Does nothing is the VFS does not support the option.

Throws

if writing the option fails.