From dbb85494c3b7da8d5cd1481c713c669292620cd2 Mon Sep 17 00:00:00 2001 From: Stefal Date: Tue, 18 Jun 2024 18:15:27 +0200 Subject: [PATCH] shorter timeout to shutdown rtkbase a little faster. I still need to find why I can't catch sigint with signal.signal to stop the various thread --- web_app/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web_app/server.py b/web_app/server.py index 8acc198..1e301af 100755 --- a/web_app/server.py +++ b/web_app/server.py @@ -994,6 +994,7 @@ def arg_parse(): '%s:%s' % ('[::1]', args.port or rtkbaseconfig.get("main", "web_port", fallback=80)) ], 'workers': 1, 'worker_class': 'gevent', + 'graceful_timeout': 10, 'loglevel': 'debug' if args.debug else 'warning', } #start gunicorn