Новые правки в рантайме

This commit is contained in:
2026-03-09 19:43:28 +03:00
parent dfad1694b8
commit af574c9da4

View File

@@ -90,7 +90,7 @@ class RuntimeManager:
async def start_runtime(self) -> str:
if self._started:
return "runtime already running"
if self.workers.lifecycle_state() == LifecycleState.STOPPING:
if self._state == LifecycleState.STOPPING:
return "runtime is stopping"
self.start(start_control_plane=False)
return "runtime started"