From d6a91a02aac4dcdfa0d650e71fcc2d2ea53201d8 Mon Sep 17 00:00:00 2001 From: Admin9705 <9705@duck.com> Date: Sun, 1 Feb 2026 13:27:21 -0500 Subject: [PATCH] update --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 7a2870f4..aa89f611 100644 --- a/main.py +++ b/main.py @@ -299,10 +299,10 @@ def run_web_server(): waitress_server.close() web_logger.info("Waitress server close() called.") - # Wait for server thread to finish - server_thread.join(timeout=3.0) + # Wait for server thread to finish with longer timeout + server_thread.join(timeout=5.0) if server_thread.is_alive(): - web_logger.warning("Server thread did not stop within timeout.") + web_logger.debug("Server thread did not stop within timeout (this is normal during container restart).") else: web_logger.info("Server thread stopped successfully.")