Skip to content

Commit

Permalink
shorter timeout to shutdown rtkbase a little faster.
Browse files Browse the repository at this point in the history
I still need to find why I can't catch sigint with signal.signal to stop the various thread
  • Loading branch information
Stefal committed Jun 18, 2024
1 parent a1da082 commit dbb8549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbb8549

Please sign in to comment.