Name
.timeout — Set a lock retry timer
Common Usage
.timeout milliseconds
Description
The .timeout
command is used to set a retry timer.
If a timer value is set and a locked database is encountered,
rather than immediately returning a “database locked” error, in
most cases SQLite will keep attempting to reacquire the lock
until the timer expires.
A value of 0 or less disables the timeout value.
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.