Commit 805bf7dd authored by hengwen's avatar hengwen

Increase connection timeout

parent 40bcc6ae
......@@ -16,6 +16,6 @@ public class ZookeeperFactory {
zooServers = "localhost:2181";
}
LoggerFactory.getLogger(ZookeeperFactory.class).info("Initialize connection to zookeeper {}", zooServers);
return new ZkClient(zooServers, 1000);
return new ZkClient(zooServers, 10000);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment