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> |
||
|---|---|---|
| .. | ||
| test_async_processor.py | ||
| test_async_processor_config.py | ||
| test_cassandra_config.py | ||
| test_document_embeddings_client.py | ||
| test_flow_base_modules.py | ||
| test_flow_parameter_specs.py | ||
| test_flow_processor.py | ||
| test_i18n.py | ||
| test_llm_service_parameters.py | ||
| test_logging.py | ||
| test_metrics.py | ||
| test_prompt_client_streaming.py | ||
| test_publisher_graceful_shutdown.py | ||
| test_subscriber_graceful_shutdown.py | ||
| test_subscriber_readiness.py | ||