StackExchange.Redis
StackExchange.Redis copied to clipboard
about SE.Redis Timeout
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.
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