StackExchange.Redis icon indicating copy to clipboard operation
StackExchange.Redis copied to clipboard

about SE.Redis Timeout

Open zhdaniel opened this issue 12 years ago • 1 comments

I wraped the SE.Redis with my RedisWrapper, but sometims it would throw a TimeoutException, Code like this:

public class RedisWrapper
{
    private ConnectionMultiplexer Redis = null;
    private IDatabase db = null;

   public long Pop()
   {
        db.ListLeftPop(...)
   }
}

whether i should ensure the redis & db is connected each time when Pop() , and how? hoping for your reply. thanks.

zhdaniel avatar Jul 10 '14 15:07 zhdaniel

When my app get started loading, sometimes it throws the LPOP or LPUSH exception

Timeout performing LPOP 1:err_queue, inst: 1, queue: 2, qu=0, qs=2, qc=0, wr=0/0, in=0/0

zhdaniel avatar Jul 11 '14 04:07 zhdaniel