Update fastdeploy/engine/common_engine.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jiang-Jia-Jun
2025-12-16 15:25:18 +08:00
committed by GitHub
parent f223e42c49
commit 06e0aa16d0

View File

@@ -933,7 +933,7 @@ class EngineService:
while self.running: while self.running:
try: try:
if self.engine_worker_queue.exist_tasks() > 0: if self.engine_worker_queue.exist_tasks():
time.sleep(0.001) time.sleep(0.001)
continue continue
if self.cfg.scheduler_config.splitwise_role != "mixed": if self.cfg.scheduler_config.splitwise_role != "mixed":