Merge pull request #551 from mayankdang/master

Fix #550 : Removed redundant call to connectionPool.getResource()
This commit is contained in:
Marcos Nils
2014-02-17 09:36:56 -02:00
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@@ -9,3 +9,6 @@ target/
build/
bin/
tags
.idea
*.aof
*.rdb

View File

@@ -40,7 +40,7 @@ public class JedisSlotBasedConnectionHandler extends
connectionPool = getRandomConnection();
}
currentConnection = connectionPool.getResource();
return connectionPool.getResource();
return currentConnection;
}
}