...
|
...
|
@@ -53,7 +53,9 @@ const walkPath = (client, path, memory) => { |
|
|
};
|
|
|
|
|
|
module.exports = (server, host, memory) => {
|
|
|
let client = zookeeper.createClient(server);
|
|
|
let client = zookeeper.createClient(server, {
|
|
|
retries: 3
|
|
|
});
|
|
|
|
|
|
host = (host && _.indexOf(['pc', 'wap'], host) >= 0) ? host : 'wap';
|
|
|
|
...
|
...
|
|