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

View File

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