[OpenSIPS-Devel] [OpenSIPS/opensips] 5acb9a: sql_cacher: don't query the SQL DB under lock when...
Vlad Pătrașcu
noreply at github.com
Fri Jul 12 12:40:58 EDT 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 5acb9ac7dac1baee4ec1fbf74582c43d7d00e667
https://github.com/OpenSIPS/opensips/commit/5acb9ac7dac1baee4ec1fbf74582c43d7d00e667
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