fix(delivery): bound parallel startup checks

This commit is contained in:
2026-10-21 10:00:59 +08:00
parent 8e8015d3f8
commit b7c586cebb
3 changed files with 23 additions and 6 deletions
+5 -3
View File
@@ -49,11 +49,13 @@ START_ORDER = (
"worker",
"proxy",
)
# Root has no DB/MQ dependency. Ordinary units require the two dependencies;
# the HTTPS unit additionally orders itself after API startup.
# Root has no DB/MQ dependency. Pair ordinary full-bundle startup checks under
# the two-CPU node cap; every unit keeps its original startup deadline.
START_GROUPS = (
(*DEPENDENCIES, "sandbox-factory"),
("coordinator", "api", "outbox", "problem-import", "worker"),
("coordinator", "api"),
("outbox", "problem-import"),
("worker",),
("proxy",),
)
DRAIN_SECONDS = 360