lp://staging/~fo0bar/juju-wait/juju-wait-quicker
Created by
Ryan Finnie
and last modified
- Get this branch:
- bzr branch lp://staging/~fo0bar/juju-wait/juju-wait-quicker
Only
Ryan Finnie
can upload to this branch. If you are
Ryan Finnie
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Stuart Bishop: Approve
-
Diff: 79 lines (+33/-15)1 file modifiedjuju_wait/__init__.py (+33/-15)
Branch information
Recent revisions
- 40. By Ryan Finnie
-
Ignore update-status hook, check leaders after IDLE_CONFIRMATION loop
These two changes are intended to reduce wait time on large
environments.~Recent juju (1.24+?) regularly runs housekeeping hooks, the most common
of which is update-status. On a large environment, there is almost
always an update-status run in the last 15 seconds, but juju-wait should
not block on this.Run the leaders block after the IDLE_CONFIRMATION block, as checking
leadership on an environment with many services takes a significant
amount of time, and is the least likely to set ready = False and begin
the whole process again. Running this last will make it so it's
(usually) only ever run once, at the very end.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)