[BugFix] Enable control socket disable option in API server (#6545)

* [BugFix] Enable control socket disable option in API server

* Update requirements.txt

* Update requirements.txt
This commit is contained in:
Jiang-Jia-Jun
2026-02-28 10:35:35 +08:00
committed by GitHub
parent 8e67fb422c
commit 39a5ea66c8
2 changed files with 3 additions and 1 deletions
@@ -660,6 +660,7 @@ def launch_api_server() -> None:
api_server_logger.info(f"args: {args.__dict__}")
# fd_start_span("FD_START")
# set control_socket_disable=True to avoid conflicts when running multiple instances
options = {
"bind": f"{args.host}:{args.port}",
"workers": args.workers,
@@ -667,6 +668,7 @@ def launch_api_server() -> None:
"loglevel": "info",
"graceful_timeout": args.timeout_graceful_shutdown,
"timeout": args.timeout,
"control_socket_disable": True,
}
try: