Skip to content

Commit 2b3c15e

Browse files
committed
fix(scheduler/coreos): bump wait_for_announcer timeout to 20minutes
This needs to match the timeout on both the announce template and the router. This value is currently 20 minutes.
1 parent f7bde6f commit 2b3c15e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

controller/scheduler/coreos.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ def _start_announcer(self, name, env):
126126

127127
def _wait_for_announcer(self, name, env):
128128
status = None
129-
for _ in range(60):
129+
# we bump to 20 minutes here to match the timeout on the router and in the app unit files
130+
for _ in range(1200):
130131
status = subprocess.check_output(
131132
"fleetctl.sh list-units | grep {name}-announce.service | awk '{{print $5}}'".format(**locals()),
132133
shell=True, env=env).strip('\n')

0 commit comments

Comments
 (0)