jedis monitor should set client socket timeout to infinite

This commit is contained in:
Jonathan Leibiusky
2011-05-02 01:54:52 -03:00
parent e5a3833d4a
commit b13c964500
2 changed files with 26 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ public abstract class JedisMonitor {
public void proceed(Client client) {
this.client = client;
this.client.setTimeoutInfinite();
do {
String command = client.getBulkReply();
onCommand(command);