Skip to content

Commit 9000b9f

Browse files
authored
Revert "healthcheck: Make gunicorn health check timeout configurable (PROJQUAY-8757)" (quay#3774)
Revert "healthcheck: Make gunicorn health check timeout configurable (PROJQUA…" This reverts commit be08d48.
1 parent 1861b3a commit 9000b9f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

health/services.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ def fn(app):
4040
client = app.config["HTTPCLIENT"]
4141
registry_url = _compute_internal_endpoint(app, endpoint)
4242
try:
43-
status_code = client.get(
44-
registry_url,
45-
verify=False,
46-
timeout=app.config.get("GUNICORN_HEALTH_CHECK_TIMEOUT", 2),
47-
).status_code
43+
status_code = client.get(registry_url, verify=False, timeout=2).status_code
4844
okay = status_code == 200
4945
message = ("Got non-200 response for worker: %s" % status_code) if not okay else None
5046
return (okay, message)

0 commit comments

Comments
 (0)