[OpenSIPS-Devel] [OpenSIPS/opensips] 1de370: sql_cacher: don't query the SQL DB under lock when...
Vlad Pătrașcu
noreply at github.com
Fri Jul 12 12:40:42 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 1de370ebfebe8eb0916603d97f0d475abb21d23c
https://github.com/OpenSIPS/opensips/commit/1de370ebfebe8eb0916603d97f0d475abb21d23c
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2019-07-12 (Fri, 12 Jul 2019)
Changed paths:
M modules/sql_cacher/sql_cacher.c
Log Message:
-----------
sql_cacher: don't query the SQL DB under lock when reloading
Previously, retrieving any key from the cache during a reload would
blocked until the SQL DB query completed.
Suggested by Ben Newlin in #1760
(cherry picked from commit 642271cf43ae005e81125bc98fcabc6700e46aca)
More information about the Devel
mailing list