remove async

This commit is contained in:
Billy Bao 2025-12-11 19:47:55 +08:00
parent a84601b6d0
commit 97de53586c

View file

@ -97,7 +97,7 @@ class SyncBase:
if task["poll_range_start"]: if task["poll_range_start"]:
next_update = task["poll_range_start"] next_update = task["poll_range_start"]
async for document_batch in document_batch_generator: # 如果是 async generator for document_batch in document_batch_generator:
if not document_batch: if not document_batch:
continue continue