Skip to content

Commit

Permalink
Increase timeout when config components talk to zookeeper
Browse files Browse the repository at this point in the history
This change is needed in scaled environments where api-requests
take longer times
Closes-bug: #1433886

Change-Id: I715645a91d90944e182b368da89f8daf5cc155b5
  • Loading branch information
Vedu Joshi committed Apr 23, 2015
1 parent 0ea8029 commit 75d7180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/common/zkclient.py
Expand Up @@ -201,7 +201,7 @@ def __init__(self, module, server_list, logging_fn=None):
self._zk_client = \
kazoo.client.KazooClient(
server_list,
timeout=20,
timeout=400,
handler=kazoo.handlers.gevent.SequentialGeventHandler(),
logger=logger)

Expand Down

0 comments on commit 75d7180

Please sign in to comment.