mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
fix fetch (#4253)
This commit is contained in:
@@ -658,9 +658,7 @@ class EngineService:
|
||||
time.sleep(0.001)
|
||||
continue
|
||||
if self.cfg.scheduler_config.splitwise_role != "mixed":
|
||||
if self.scheduler.get_unhandled_request_num() <= envs.FD_EP_MAX_PREFETCH_TASK_NUM and (
|
||||
not is_fetching
|
||||
):
|
||||
if not is_fetching:
|
||||
get_request_pool.submit(_fetch_request)
|
||||
|
||||
else:
|
||||
|
Reference in New Issue
Block a user