From: antirez Date: Tue, 24 Aug 2010 10:10:59 +0000 (+0200) Subject: BLPOPping clients are no longer subject to connection timeouts, fixing issues 155 X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/e452436a07224022df17c59d6dbfbd47dcfc7fd6 BLPOPping clients are no longer subject to connection timeouts, fixing issues 155 --- diff --git a/src/networking.c b/src/networking.c index e5a66984..10b9580e 100644 --- a/src/networking.c +++ b/src/networking.c @@ -466,6 +466,7 @@ void closeTimedoutClients(void) { if (server.maxidletime && !(c->flags & REDIS_SLAVE) && /* no timeout for slaves */ !(c->flags & REDIS_MASTER) && /* no timeout for masters */ + !(c->flags & REDIS_BLOCKED) && /* no timeout for BLPOP */ dictSize(c->pubsub_channels) == 0 && /* no timeout for pubsub */ listLength(c->pubsub_patterns) == 0 && (now - c->lastinteraction > server.maxidletime))