Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix data_sync startup crash by properly invoking async main (#11879)

David López Carrascala6afb7dfe299
diff --git a/rag/svr/sync_data_source.py b/rag/svr/sync_data_source.py
index 400f90370a..d6603f68f8 100644
--- a/rag/svr/sync_data_source.py
+++ b/rag/svr/sync_data_source.py
@@ -714,4 +714,4 @@ async def main():
if __name__ == "__main__":
faulthandler.enable()
init_root_logger(CONSUMER_NAME)
- asyncio.run(main)
+ asyncio.run(main())