Skip to content

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

Fix:After being idle for a while, new tasks need to be cancel and redo (#958)

CKLogicdded365b8d1e
diff --git a/rag/utils/redis_conn.py b/rag/utils/redis_conn.py
index ef1b73eaaf..2ab6706379 100644
--- a/rag/utils/redis_conn.py
+++ b/rag/utils/redis_conn.py
@@ -117,7 +117,7 @@ class RedisDB:
self.REDIS.xgroup_create(
queue_name,
group_name,
- id="$",
+ id="0",
mkstream=True
)
args = {