<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi,<br>
      <br>
      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.<br>
      <br>
      If you simply have no way around the sleep (in your logic), use
      the async version of it.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 03/01/2019 10:33 AM, sagar malam
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEZuF3tXkbNEFxm76qqEdtR2XdZJiQ8JhFxv_ot9erg+NZjeZQ@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">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.</div>
        <div>Any inputs areĀ appreciated.</div>
        <div dir="ltr">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="gmail_signature">
            <div dir="ltr">Thanks,
              <div><br>
              </div>
              <div>Sagar</div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>