SQLite Forum

How to circumvent "apsw.BusyError: BusyError: database is locked"?
Login
I notice you've got a `busy_timeout` of 5... if you look at [the documentation][1], you will see this is in milliseconds. A value of **`5000`** (=5 seconds) or more is probably what you want.


[1]:https://www.sqlite.org/c3ref/busy_timeout.html