antifrodpobeda

This commit is contained in:
ITQ
2025-03-02 17:24:19 +03:00
parent 73b7507e12
commit 929342cf68
@@ -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.ANTIFRAUD_ADDRESS}/ping", timeout=1 f"{settings.CHECKER_API_ENDPOINT}/ping", timeout=1
) )
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")