SQLite Forum

Is there a way to wait until the database is available?
Login
The "busy\_timeout" is implemented as an [sqlite3\_busy\_handler()][1] callback.
You can substitute a different callback to do whatever you want.

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