mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Detect the app is exiting and avoid reconnecting to computes.
This commit is contained in:
1 parent
6b8ce8219c
commit
bad3ef7003
4 files changed
+19
-13
No files matched your search
@@ -82,7 +82,7 @@ def create_startup_handler(app: FastAPI) -> Callable:
|
||||
|
||||
def create_shutdown_handler(app: FastAPI) -> Callable:
|
||||
"""
|
||||
Tasks to be performed when the server is shutdown.
|
||||
Tasks to be performed when the server is exiting.
|
||||
"""
|
||||
|
||||
async def shutdown_handler() -> None:
|
||||
|
||||
Reference in new issue
Block a user