Apache Jakarta commons-pool based JedisPool.

This commit is contained in:
Yaourt
2010-11-07 22:32:19 +01:00
parent 08f8432215
commit 3d8d152227
4 changed files with 104 additions and 67 deletions

View File

@@ -18,7 +18,7 @@ public class Connection {
private RedisOutputStream outputStream;
private RedisInputStream inputStream;
private int pipelinedCommands = 0;
private int timeout = 2000;
private int timeout = Protocol.DEFAULT_TIMEOUT;
public int getTimeout() {
return timeout;