Commit Graph

3 Commits

Author SHA1 Message Date
Frédéric Guillot f084cfa7bd Tweak Sqlite connection settings to reduce database locked errors
Related resources:
- https://litestream.io/tips/
- https://unixsheikh.com/articles/sqlite-the-only-database-you-will-ever-need-in-most-cases.html
2023-07-07 21:30:06 -07:00
Frédéric Guillot 5e4d506b28 Enable Sqlite WAL mode by default
WAL provides more concurrency as readers do not block writers and,
a writer does not block readers. Reading and writing can proceed concurrently.

This change might reduce the number of errors related to locked databases.

For reference: https://sqlite.org/wal.html
2023-02-10 20:02:18 -08:00
Frédéric Guillot a491348d44 Vendoring deprecated composer libs 2018-06-21 14:13:41 -07:00