Skip to content

Fix concurrent sqlite DB access issues

Guido Berhörster requested to merge fix-sqlite-busy into main

Although lomiri-update-directory and lomiri-url-dispatcher use sqlite in WAL mode, there can still be situations where concurrent writes happen, e.g. on session start and neither handle SQLITE_BUSY errors gracefully. Use sqlite_busy_timeout() with a reasonable timeout to mitigate the issue. This fixes #8 (closed).

Merge request reports