mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
Update fastdeploy/engine/common_engine.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user