Hi @py8765 , I need plugin for master as high availability. And i read module this it is that i need.
But I don't understand config path, server in below code:
var masterhaPlugin = require('pomelo-masterha-plugin');
app.configure('production|development', function() {
app.use(masterhaPlugin, {
zookeeper: {
server: '127.0.0.1:2181',
path: '/pomelo/master'
}
});
});
You can help, say no more about it? Tks u!
Hi @py8765 , I need plugin for master as high availability. And i read module this it is that i need.
But I don't understand config path, server in below code:
var masterhaPlugin = require('pomelo-masterha-plugin');
app.configure('production|development', function() {
app.use(masterhaPlugin, {
zookeeper: {
server: '127.0.0.1:2181',
path: '/pomelo/master'
}
});
});
You can help, say no more about it? Tks u!