Revert "[Scheduler] Decouple maybe_send_health_check_signal from process_batch_result" (#20259)

This commit is contained in:
Liangsheng Yin
2026-03-10 01:58:48 -07:00
committed by GitHub
parent 8cd1de3354
commit ac07a6d439
5 changed files with 1 additions and 20 deletions
@@ -139,8 +139,6 @@ class SchedulerPPMixin:
self.pp_outputs = next_pp_outputs
self.maybe_send_health_check_signal()
# When the server is idle, self-check and re-init some states
if server_is_idle:
self.self_check_during_idle()
@@ -316,8 +314,6 @@ class SchedulerPPMixin:
self.running_batch.batch_is_full = False
self.maybe_send_health_check_signal()
# When the server is idle, self-check and re-init some states
if server_is_idle and len(self.disagg_prefill_inflight_queue) == 0:
self.self_check_during_idle()
@@ -508,8 +504,6 @@ class SchedulerPPMixin:
if self.server_args.disaggregation_decode_enable_offload_kvcache:
queue_size += len(self.decode_offload_manager.ongoing_offload)
self.maybe_send_health_check_signal()
if server_is_idle and queue_size == 0:
self.self_check_during_idle()