[OpenSIPS-Devel] [OpenSIPS/opensips] 642271: sql_cacher: don't query the SQL DB under lock when...

Vlad Pătrașcu noreply at github.com
Fri Jul 12 12:40:34 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 642271cf43ae005e81125bc98fcabc6700e46aca
      https://github.com/OpenSIPS/opensips/commit/642271cf43ae005e81125bc98fcabc6700e46aca
  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





More information about the Devel mailing list