Skip to content

Commit

Permalink
Increase the timeout for charmstore connections
Browse files Browse the repository at this point in the history
The charm store often does not respond in 5s. Increase the timeout
to 20s. Charm store issue being tracked in canonical/jujucharms.com#551
. Closes issue 261.
  • Loading branch information
Liam Young committed Sep 17, 2018
1 parent 514e479 commit ae464f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juju/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ class CharmStore:
"""
def __init__(self, loop):
self.loop = loop
self._cs = theblues.charmstore.CharmStore(timeout=5)
self._cs = theblues.charmstore.CharmStore(timeout=20)

def __getattr__(self, name):
"""
Expand Down

0 comments on commit ae464f6

Please sign in to comment.