title: Redis Timeout Expired message on GetClient call
body: <p>I hate the questions that have "Not Enough Info". So I will try to give detailed information. And in this case it is code.</p>
  
  <p>Server: 
  64 bit of <a href="https://github.com/MSOpenTech/redis/tree/2.6/bin/release">https://github.com/MSOpenTech/redis/tree/2.6/bin/release</a> </p>
  
  <p>There are three classes:</p>
  
  <p><strong>DbOperationContext.cs</strong>: <a href="https://gist.github.com/glikoz/7119628">https://gist.github.com/glikoz/7119628</a></p>
  
  <p><strong>PerRequestLifeTimeManager.cs</strong>: <a href="https://gist.github.com/glikoz/7119699">https://gist.github.com/glikoz/7119699</a></p>
  
  <p><strong>RedisRepository.cs</strong> <a href="https://gist.github.com/glikoz/7119769">https://gist.github.com/glikoz/7119769</a></p>
  
  <p>We are using Redis with Unity ..</p>
  
  <p>In this case we are getting this strange message:</p>
  
  <p>"Redis Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use.";</p>
  
  <p>We checked these:</p>
  
  <ul>
  <li><p>Is the problem configuration issue</p></li>
  <li><p>Are we using wrong RedisServer.exe</p></li>
  <li><p>Is there any architectural problem</p></li>
  </ul>
  
  <p>Any idea? Any similar story?</p>
  
  <p>Thanks.</p>
  
  <p><strong>Extra Info 1</strong></p>
  
  <p>There is no rejected connection issue on server stats (I've checked it via redis-cli.exe info command) </p>