mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Fix: sync data source empty list (#14530)
### What problem does this PR solve? Fix: sync data source empty list ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -261,15 +261,7 @@ class SyncBase:
|
||||
task["connector_id"],
|
||||
task["kb_id"],
|
||||
)
|
||||
elif file_list == []:
|
||||
logging.warning(
|
||||
"%s deleted-file sync skipped because the snapshot was empty "
|
||||
"(connector_id=%s, kb_id=%s)",
|
||||
self.SOURCE_NAME,
|
||||
task["connector_id"],
|
||||
task["kb_id"],
|
||||
)
|
||||
elif file_list is not None:
|
||||
elif file_list:
|
||||
logging.info(
|
||||
"[%s] Starting stale document reconciliation. Snapshot size: %d "
|
||||
"(connector_id=%s, kb_id=%s)",
|
||||
|
||||
Reference in New Issue
Block a user