Skip to content

Commit c4c2974

Browse files
committed
fix(controller): healthcheck no longer check non-web processes
This should fix deis/deis#4377.
1 parent 1f54bb5 commit c4c2974

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

controller/api/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ def _healthcheck(self, containers, config):
387387
# sleep until the initial timeout is over
388388
if delay > 0:
389389
time.sleep(delay * intervals[i])
390-
self._do_healthcheck(containers, config)
390+
to_healthcheck = [c for c in containers if c.type in ['web', 'cmd']]
391+
self._do_healthcheck(to_healthcheck, config)
391392
break
392393
except exceptions.HealthcheckException as e:
393394
try:

0 commit comments

Comments
 (0)