If you specify a timeout to BLPOP/BRPOP that is either 0 (block indefinitely)
or a value greater than the Redis server's idle connection timeout, the
server will close the connection if the idle timeout is reached before an
item is put in one of those lists.
It seems like bypassing the server's idle timeout for connections that are
blocking on BLPOP/BRPOP would be the correct thing to do.
### CONFIG FILE ###
timeout = 5
### CLIENT ###
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
BLPOP foo 0
Connection closed by foreign host. ### 5 seconds of blocking, then
disconnected
Original issue reported on code.google.com by sed...@gmail.com on 8 Feb 2010 at 11:00
Original issue reported on code.google.com by
sed...@gmail.com
on 8 Feb 2010 at 11:00