From ee40033c8ef44f5f975c5bca34bda26f7e279aa8 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 7 Sep 2023 11:53:55 -0400 Subject: [PATCH] test-only startup mode --- launch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/launch.py b/launch.py index ab1530fac..33d1bca3e 100644 --- a/launch.py +++ b/launch.py @@ -145,6 +145,7 @@ def start_server(immediate=True, server=None): installer.log.info(f"Server arguments: {sys.argv[1:]}") get_custom_args() module_spec.loader.exec_module(server) + uvicorn = None if args.test: installer.log.info("Test only") server.wants_restart = False