Skip to content

Commit 510df85

Browse files
committed
fix healthcheck
1 parent b7814bb commit 510df85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/api-server/src/simcore_service_api_server/core/health_checker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ async def teardown(self):
6969

7070
@property
7171
def healthy(self) -> bool:
72-
return self._health_check_failure_count <= self._allowed_health_check_failures
72+
return self._rabbit_client.healthy and (
73+
self._health_check_failure_count <= self._allowed_health_check_failures
74+
)
7375

7476
@property
7577
def health_check_failure_count(self) -> NonNegativeInt:

0 commit comments

Comments
 (0)