Redirect ServerCommand PubSub connections to standalone redis instance to distribute load.

This commit is contained in:
Ty Sayers 2015-03-08 16:46:35 -04:00
parent 60e41c08b4
commit 2b74e774f1
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ public class ServerCommandManager
*/ */
private ServerCommandManager() private ServerCommandManager()
{ {
_writePool = Utility.getPool(true); _writePool = Utility.generatePool(new ConnectionData("10.33.53.16", 6377)); // Hardcoded connection to standalone redis instance
_readPool = Utility.getPool(false); _readPool = _writePool;
_commandTypes = new HashMap<String, CommandType>(); _commandTypes = new HashMap<String, CommandType>();
initialize(); initialize();