[BugFix] PD reorder fix and add ut (#6375)

This commit is contained in:
bukejiyu
2026-02-09 20:42:48 +08:00
committed by GitHub
parent ec128068b7
commit 5bfc0938e2
7 changed files with 163 additions and 38 deletions
+2
View File
@@ -202,6 +202,8 @@ environment_variables: dict[str, Callable[[], Any]] = {
"FD_WORKER_ALIVE_TIMEOUT": lambda: int(os.getenv("FD_WORKER_ALIVE_TIMEOUT", "30")),
# File path for file storage backend
"FILE_BACKEND_STORAGE_DIR": lambda: str(os.getenv("FILE_BACKEND_STORAGE_DIR", "/tmp/fastdeploy")),
# Whether to use PD REORDER, can set 0 or 1
"FD_PD_REORDER": lambda: int(os.getenv("FD_PD_REORDER", "0")),
}