<p>The connection timeout was hardcoded to 1 sec. This can now be set from cfg file.</p>

<p>If the redis server became unresponsive kamailio would wait for the standard Linux TCP timeout for an answer (very long time).</p>

<p>This patch has added an timeout value for redis commands.</p>

<p>The default timeout is 1 sec.<br>
<a href="https://github.com/kamailio/kamailio/files/198503/30-redis-timeout.txt">30-redis-timeout.txt</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/557">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zf28KJvZZgHF9Jp1Q388bvkQEvBPks5pzCkPgaJpZM4H9HnA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/557"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>