remove async
This commit is contained in:
parent
a84601b6d0
commit
97de53586c
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class SyncBase:
|
|||
if 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:
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue