|
@@ -255,6 +255,10 @@ modparam("speeddial|auth_db|usrloc|acc_db|domain|uri_db|gflags|avp_db|db_ops", "
|
|
# -- usrloc params --
|
|
# -- usrloc params --
|
|
|
|
|
|
# db_mode 0 -- memory cached, 1 -- write thru, 2 -- delayed write
|
|
# db_mode 0 -- memory cached, 1 -- write thru, 2 -- delayed write
|
|
|
|
+# 1 is generally safer than 2 ... 2 can help to survive peaks in load
|
|
|
|
+# however it creates delayed peaks that can impair request-processing
|
|
|
|
+# latency later (it would have to be re-redesigned more lock-free to
|
|
|
|
+# avoid it)
|
|
modparam("usrloc", "db_mode", 1)
|
|
modparam("usrloc", "db_mode", 1)
|
|
# don't delete expired records from database on a per-contact basis -- that
|
|
# don't delete expired records from database on a per-contact basis -- that
|
|
# results in bulky DB operations and can lead to synchronization issues
|
|
# results in bulky DB operations and can lead to synchronization issues
|