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:
Joe Knapper 2025-06-20 16:35:37 +00:00
commit 4c72098536

View file

@ -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: