[OpenSIPS-Devel] [OpenSIPS/opensips] b4cf13: rework ratelimit	distributed queries
    Razvan Crainea 
    razvan at opensips.org
       
    Fri Nov 15 11:02:00 CET 2013
    
    
  
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b4cf13ade32ffa28fe17b9fdd67942c0b91a77aa
      https://github.com/OpenSIPS/opensips/commit/b4cf13ade32ffa28fe17b9fdd67942c0b91a77aa
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2013-11-15 (Fri, 15 Nov 2013)
  Changed paths:
    M modules/ratelimit/ratelimit_helper.c
  Log Message:
  -----------
  rework ratelimit distributed queries
instead of adding -1 to the counter, use the cachedb_sub function exported by
the cachedb module. This prevents ratelimit counters from adding extremely
large values for some backends (ex: memcached).
Thanks go to Brett Nemeroff for reporting and testing.
(cherry picked from commit c06183325e408f47ba4e0a1e1be274fe23581e25)
    
    
More information about the Devel
mailing list