[sr-dev] [kamailio/kamailio] pipelimit module documentation error? (#1671)
Rogelio Perez
notifications at github.com
Tue Oct 16 08:41:59 CEST 2018
We're using version: kamailio 5.0.7 (x86_64/linux) 743c2d and pl_check() using TAILDROP algorithm is only triggered when the pipe counter is greater than "interval" * "timer_interval".
Example:
```
modparam("pipelimit", "timer_interval", 3)
modparam("pipelimit", "hash_size", 10)
modparam("pipelimit", "db_url", DBURL)
modparam("pipelimit", "reply_code", 503)
modparam("pipelimit", "reply_reason", "CPS Limit reached")
if (!pl_check("$si", "TAILDROP", "20")) {
pl_drop();
exit;
}
```
Result: pl_check is only triggered when "PIPE: id=10.0.0.2 load=0 counter=61"
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1671#issuecomment-430119372
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181015/05f6368e/attachment.html>
More information about the sr-dev
mailing list