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

Henning Westerholt hw at skalatan.de
Fri May 17 19:15:34 CEST 2019


Hello,

the diff looks like a deliberate change from ms to us.Lets wait for the author of the change to comment.

Cheers,

Henning

Am 17.05.19 um 17:37 schrieb Marco Capetta:

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:
[db_query.c:68]: db_do_submit_query(): alert - query execution too long [1136 us]
[db_query.c:68]: db_do_submit_query(): alert - query execution too long [914 us]
[db_query.c:68]: db_do_submit_query(): alert - query execution too long [741 us]
[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:
ce8d36f<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, view it on GitHub<https://github.com/kamailio/kamailio/issues/1956?email_source=notifications&email_token=ABO7UZK7N3P7Z3ZHXFDXE2TPV3GJ3A5CNFSM4HNWK3E2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUN2FRQ>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABO7UZOPZP3CZCA7FBCOAKTPV3GJ3ANCNFSM4HNWK3EQ>.



_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev at lists.kamailio.org<mailto:sr-dev at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190517/f897ecd5/attachment-0003.html>


More information about the sr-dev mailing list