From 5f92380098f43b695f05f57468a2ae217eed149f Mon Sep 17 00:00:00 2001 From: Angelo Lamonaca <69331077+angelolamonaca@users.noreply.github.com> Date: Mon, 27 May 2024 22:50:25 +0200 Subject: [PATCH] Fix COMFY_API_AVAILABLE_INTERVAL_MS and COMFY_API_AVAILABLE_MAX_RETRIES values (#33) --- src/rp_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp_handler.py b/src/rp_handler.py index 6faeb50b..027b6831 100644 --- a/src/rp_handler.py +++ b/src/rp_handler.py @@ -66,7 +66,7 @@ def validate_input(job_input): return {"workflow": workflow, "images": images}, None -def check_server(url, retries=50, delay=500): +def check_server(url, retries=500, delay=50): """ Check if a server is reachable via HTTP GET request