only update self.exist_prefill_task_signal in v0 (#6064)

* commit

* commit

* commit

---------

Co-authored-by: xiaoluomi <1037819816@qq.com>
This commit is contained in:
周周周
2026-01-16 20:11:55 +08:00
committed by GitHub
parent 0d372e4fb2
commit 97f96e34ca
2 changed files with 4 additions and 6 deletions
+1 -5
View File
@@ -936,11 +936,7 @@ class EngineService:
get_request_pool.submit(_fetch_request)
else:
if (
len(self.resource_manager.waiting) == 0
and (not is_fetching)
and self.exist_prefill_task_signal.value[0] == 0
):
if len(self.resource_manager.waiting) == 0 and (not is_fetching):
# Check if the thread pool is still available to avoid submitting tasks to a shutdown thread pool.
try:
is_fetching = True