Module: kamailio
Branch: master
Commit: 9d21fa0562b8b4379b882d89715c58028eb358dd
URL: 
https://github.com/kamailio/kamailio/commit/9d21fa0562b8b4379b882d89715c58028eb358dd

Author: Andreas Granig <agra...@linguin.org>
Committer: Andreas Granig <agra...@linguin.org>
Date: 2024-11-19T14:18:09+01:00

db_sqlite: Add busy timeout param to improve concurrency

It's needed specifically when setting WAL, because on module loading,
each child creates its own DB connection and sets the WAL (or other
options you might set), and it all happens roughly at the same time.

Without setting the busy-timeout, starting of kamailio will fail
due to locking issues with sqlite.

---

Modified: src/modules/db_sqlite/db_sqlite.c
Modified: src/modules/db_sqlite/db_sqlite.h
Modified: src/modules/db_sqlite/dbase.c
Modified: src/modules/db_sqlite/doc/db_sqlite.xml
Modified: src/modules/db_sqlite/doc/db_sqlite_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/9d21fa0562b8b4379b882d89715c58028eb358dd.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9d21fa0562b8b4379b882d89715c58028eb358dd.patch

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to