<type>(scope): <description>

[body]

[footer(s)]
This commit is contained in:
ITQ
2025-03-02 20:48:21 +03:00
parent 527927ff5a
commit 8259ba1916
@@ -11,7 +11,7 @@ class CheckerHealthCheck(BaseHealthCheckBackend):
def check_status(self) -> None: def check_status(self) -> None:
try: try:
response = httpx.get( response = httpx.get(
f"{settings.CHECKER_API_ENDPOINT}/ping", timeout=1 f"{settings.CHECKER_API_ENDPOINT}/health", timeout=10
) )
if response.status_code >= status.INTERNAL_SERVER_ERROR: if response.status_code >= status.INTERNAL_SERVER_ERROR:
self.add_error("Checker service is unaccessible") self.add_error("Checker service is unaccessible")