[sr-dev] git:master: core: new parameters to control and alert on time consuming ops

Klaus Darilion klaus.mailinglists at pernau.at
Mon Mar 26 16:27:51 CEST 2012



On 26.03.2012 09:54, Daniel-Constantin Mierla wrote:
> Module: sip-router
> Branch: master
> Commit: 930aba2973c19370a5d50aac2661be66e9aacbc3
> URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=930aba2973c19370a5d50aac2661be66e9aacbc3
>
> Author: Daniel-Constantin Mierla<miconda at gmail.com>
> Committer: Daniel-Constantin Mierla<miconda at gmail.com>
> Date:   Sun Mar 25 13:39:20 2012 +0200
>
> core: new parameters to control and alert on time consuming ops
>
> - latency_log - log level to print the messages related to latency
> - latency_limit_db - limit of latency in ms for db operations. If a db
>    operation executed via DB API v1 takes longer that its value, a
>    message is printed in the logs, showing the first 50 characters of the
>    db query

Why not the whole query? Would help debugging.

Klaus



More information about the sr-dev mailing list