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

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, or mute the thread.


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@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