add the missing MongoDocStatusStorage

This commit is contained in:
ArnoChen
2025-02-14 02:49:00 +08:00
parent 9a91b68e62
commit 637e7efa83
2 changed files with 6 additions and 2 deletions

View File

@@ -6,7 +6,6 @@ password = your-password
[mongodb]
uri = mongodb+srv://name:password@your-cluster-address
database = lightrag
graph = false
[redis]
uri=redis://localhost:6379/1

View File

@@ -80,7 +80,12 @@ STORAGE_IMPLEMENTATIONS = {
"required_methods": ["query", "upsert"],
},
"DOC_STATUS_STORAGE": {
"implementations": ["JsonDocStatusStorage", "PGDocStatusStorage"],
"implementations": [
"JsonDocStatusStorage",
"PGDocStatusStorage",
"PGDocStatusStorage",
"MongoDocStatusStorage",
],
"required_methods": ["get_pending_docs"],
},
}