From 97de53586c2714133d2616830cbf1eec4f5d2fec Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Thu, 11 Dec 2025 19:47:55 +0800 Subject: [PATCH] remove async --- rag/svr/sync_data_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag/svr/sync_data_source.py b/rag/svr/sync_data_source.py index 87165f0d5..1fe28bfaa 100644 --- a/rag/svr/sync_data_source.py +++ b/rag/svr/sync_data_source.py @@ -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