<p>That commit was done as a fix, because the previous solution didn't work in most of the cases. It relied on the internal track of time, but in case of blocking, the signal to update the value didn't happen, so my tests with latency for action (which used the same mechanism as for db) was most of the time 0, even I explicitly used sleep(few seconds). The unit ms -- not sure if previously was still expected to be micro-seconds or mili-seconds. The origin was somehow related to benchmark module which has micro-seconds accuracy (or nano-seconds if compiled with librt), but to make the measurements internally, not in config file, so I had in mind micro-seconds. If people consider it to be something breaking what they expected or they were used to (but again, it was not actually working), we can think of some option to add for time unit.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1956?email_source=notifications&email_token=ABO7UZMZDC5V3NLZK62U7OTPV4F4VA5CNFSM4HNWK3E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVXSTQ#issuecomment-493582670">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIE3R6PMW4FHFXSFM3PV4F4VANCNFSM4HNWK3EQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZITSBR64CX3SW57DULPV4F4VA5CNFSM4HNWK3E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVXSTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1956?email_source=notifications\u0026email_token=ABO7UZMZDC5V3NLZK62U7OTPV4F4VA5CNFSM4HNWK3E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVXSTQ#issuecomment-493582670",
"url": "https://github.com/kamailio/kamailio/issues/1956?email_source=notifications\u0026email_token=ABO7UZMZDC5V3NLZK62U7OTPV4F4VA5CNFSM4HNWK3E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVXSTQ#issuecomment-493582670",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>