mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
BLPOPping clients are no longer subject to connection timeouts, fixing issues 155
This commit is contained in:
parent
01daeecee7
commit
e452436a07
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user