cook: renotify agents when waiting for deployment (#42956)
This commit is contained in:
parent
0e61667d24
commit
c4a80cb6c5
|
@ -108,7 +108,11 @@ class Command(BaseCommand):
|
|||
t0 = time.time()
|
||||
i = 0
|
||||
last_service_url = None
|
||||
last_notification = t0
|
||||
while len(services) > 0:
|
||||
if time.time() - last_notification > 15:
|
||||
last_notification = time.time()
|
||||
notify_agents(None)
|
||||
for service in services[:]:
|
||||
if service.last_operational_success_timestamp:
|
||||
services.remove(service)
|
||||
|
|
Loading…
Reference in New Issue