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