[sleep functionality] code refactor about sleep/wake_up (#50431)

Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
Ning Xie
2026-08-25 07:45:20 +00:00
committed by GitHub
parent 5e379a361e
commit 23310bc3de
3 changed files with 4 additions and 7 deletions
+1
View File
@@ -2476,6 +2476,7 @@ class Scheduler(SchedulerInterface):
return self._pause_state
def set_pause_state(self, pause_state: PauseState) -> None:
logger.info("setting pause state to %s", pause_state.name)
self._pause_state = pause_state
def _free_request_blocks(self, request: Request):