[OpenSIPS-Users] Is it safe to use sleep function from cfgutils module ?
bogdan at opensips.org
Mon Mar 4 10:05:59 EST 2019
Indeed, it is very dangerous to use the sleep function in your cfg as it
will block the current process (like not being able to do anything else
in terms of traffic handling) during the sleep time.
If you simply have no way around the sleep (in your logic), use the
async version of it.
OpenSIPS Founder and Developer
OpenSIPS Summit 2019
On 03/01/2019 10:33 AM, sagar malam wrote:
> Is it safe to use sleep function from cfgutils module ? I have doubt
> that using sleep function may sleep particular process processing that
> function which can be problematic.
> Any inputs are appreciated.
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users