fix(restart): add explicit restart mode

This commit is contained in:
chengyongru authored and Xubin Ren committed 2026-06-30 15:21:14 +08:00
1 parent d979597361
commit 4726ca0478
6 files changed
+105 -4

No files matched your search

+1
View File
@@ -313,6 +313,7 @@ class GatewayConfig(Base):
host: str = "127.0.0.1" # Safer default: local-only bind.
port: int = 18790
restart_mode: Literal["auto", "exec", "spawn", "exit"] = "auto"
heartbeat: HeartbeatConfig = Field(default_factory=HeartbeatConfig)