Merge branch 'shutdown-timeout' into 'v3'
Add a timeout when shutting down the server. See merge request openflexure/openflexure-microscope-server!297
This commit is contained in:
commit
4c72098536
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ def serve_from_cli(argv: Optional[list[str]] = None):
|
|||
host=args.host,
|
||||
port=args.port,
|
||||
log_config=log_config,
|
||||
timeout_graceful_shutdown=2,
|
||||
)
|
||||
|
||||
except BaseException as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue