Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d430c1ae8e77bc0ae2d2eb0ac4eb31d779a8101f
      
https://github.com/OpenSIPS/opensips/commit/d430c1ae8e77bc0ae2d2eb0ac4eb31d779a8101f
  Author: Razvan Crainea <raz...@opensips.org>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M modules/ratelimit/ratelimit.h
    M modules/ratelimit/ratelimit_helper.c

  Log Message:
  -----------
  ratelimit: proper expire for replicated pipes

Instead of updating the last_used on every received pipe, we shall only
consider the last locally used value when we want to expire. This way,
we only replicate pipes that have been locally used recently, if the
ones that are not, will not be replicated, thus will eventually be
deleted by the backup nodes.

Thanks go to Ken Rice (SIPNav) for reporting this and troubleshooting
the problem.



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to