[OpenSIPS-Devel] [opensips] Slot Based Taildrop algorithm for ratelimit (#728)
Răzvan Crainea
notifications at github.com
Mon Jan 4 16:51:02 CET 2016
> @@ -995,6 +1061,9 @@ void rl_timer_repl(utime_t ticks, void *param)
> if (bin_push_int((*pipe)->limit) < 0)
> goto error;
>
> + if (bin_push_int(hist_count(*pipe)) < 0)
Just compute the last counter and push in the counter variable.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/728/files#r48743816
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160104/89ddaa21/attachment.htm>
More information about the Devel
mailing list