Redirect ServerCommand PubSub connections to standalone redis instance to distribute load.
This commit is contained in:
parent
60e41c08b4
commit
2b74e774f1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user