Showing
2 changed files
with
4 additions
and
2 deletions
@@ -53,7 +53,9 @@ const walkPath = (client, path, memory) => { | @@ -53,7 +53,9 @@ const walkPath = (client, path, memory) => { | ||
53 | }; | 53 | }; |
54 | 54 | ||
55 | module.exports = (server, host, memory) => { | 55 | module.exports = (server, host, memory) => { |
56 | - let client = zookeeper.createClient(server); | 56 | + let client = zookeeper.createClient(server, { |
57 | + retries: 3 | ||
58 | + }); | ||
57 | 59 | ||
58 | host = (host && _.indexOf(['pc', 'wap'], host) >= 0) ? host : 'wap'; | 60 | host = (host && _.indexOf(['pc', 'wap'], host) >= 0) ? host : 'wap'; |
59 | 61 |
-
Please register or login to post a comment