mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-12 16:52:37 +02:00
* Fix publisher resource leak in librarian submit_document (#883) Wrap pub.start()/pub.send() in try/finally to guarantee pub.stop() is called on error. Remove unnecessary asyncio.sleep(1) kludge. * Make Cassandra replication factor configurable (issue #787) (#887) Add CASSANDRA_REPLICATION_FACTOR environment variable and --cassandra-replication-factor CLI argument to cassandra_config.py. Update all four table store constructors (ConfigTableStore, KnowledgeTableStore, LibraryTableStore, IamTableStore) to accept an optional replication_factor parameter and use it in keyspace creation CQL queries. Thread the replication factor through all service constructors: Configuration, KnowledgeManager, Librarian, IamService, and knowledge store Processor. * Update tests --------- Co-authored-by: gittihub-jpg <rico@springer-mail.net> |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_cassandra_config_integration.py | ||
| test_cassandra_storage_logic.py | ||
| test_doc_embeddings_milvus_storage.py | ||
| test_doc_embeddings_pinecone_storage.py | ||
| test_doc_embeddings_qdrant_storage.py | ||
| test_graph_embeddings_milvus_storage.py | ||
| test_graph_embeddings_pinecone_storage.py | ||
| test_graph_embeddings_qdrant_storage.py | ||
| test_memgraph_workspace_collection_isolation.py | ||
| test_neo4j_workspace_collection_isolation.py | ||
| test_row_embeddings_qdrant_storage.py | ||
| test_rows_cassandra_storage.py | ||
| test_triples_cassandra_storage.py | ||
| test_triples_falkordb_storage.py | ||
| test_triples_memgraph_storage.py | ||
| test_triples_neo4j_storage.py | ||