Новые правки в рантайме
This commit is contained in:
@@ -90,7 +90,7 @@ class RuntimeManager:
|
|||||||
async def start_runtime(self) -> str:
|
async def start_runtime(self) -> str:
|
||||||
if self._started:
|
if self._started:
|
||||||
return "runtime already running"
|
return "runtime already running"
|
||||||
if self.workers.lifecycle_state() == LifecycleState.STOPPING:
|
if self._state == LifecycleState.STOPPING:
|
||||||
return "runtime is stopping"
|
return "runtime is stopping"
|
||||||
self.start(start_control_plane=False)
|
self.start(start_control_plane=False)
|
||||||
return "runtime started"
|
return "runtime started"
|
||||||
|
|||||||
Reference in New Issue
Block a user