[sr-dev] [kamailio/kamailio] After commit ce8d36f latency_limit_db requires us instead of ms (#1956)

Marco Capetta notifications at github.com
Fri May 17 17:37:01 CEST 2019


Long time ago I have added in the configuration:
     latency_limit_db=500

After the upgrade from version 5.1.7 to version 5.1.8, kamailio started printing a lot of log lines related to db slow query:
<core> [db_query.c:68]: db_do_submit_query(): alert - query execution too long [1136 us]
<core> [db_query.c:68]: db_do_submit_query(): alert - query execution too long [914 us]
<core> [db_query.c:68]: db_do_submit_query(): alert - query execution too long [741 us]
<core> [db_query.c:68]: db_do_submit_query(): alert - query execution too long [621 us]

It seems that after the upgrade the latency_limit_db parameter configuration changed from milliseconds to microseconds.

Here the commit that probably caused the issue:
https://github.com/kamailio/kamailio/commit/ce8d36f301d7688255597a67693e47dc14448650

If a fix is released, please backport it till 5.1 branch.

Thank you.
Marco

-- 
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/1956
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190517/22ac9b8e/attachment.html>


More information about the sr-dev mailing list