Merge pull request #382 from trustgraph-ai/fix/import-queues-not-working

Fix/import queues not working
This commit is contained in:
cybermaggedon 2025-05-17 13:02:58 +01:00 committed by GitHub
commit 6dc7b4cbfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 26 deletions

View file

@ -22,6 +22,9 @@ class DocumentEmbeddingsImport:
pulsar_client, topic = queue, schema = DocumentEmbeddings
)
async def start(self):
await self.publisher.start()
async def destroy(self):
self.running.stop()

View file

@ -22,6 +22,9 @@ class GraphEmbeddingsImport:
pulsar_client, topic = queue, schema = GraphEmbeddings
)
async def start(self):
await self.publisher.start()
async def destroy(self):
self.running.stop()

View file

@ -160,6 +160,8 @@ class DispatcherManager:
queue = qconfig,
)
await dispatcher.start()
return dispatcher
async def process_flow_export(self, ws, running, params):

View file

@ -22,6 +22,9 @@ class TriplesImport:
pulsar_client, topic = queue, schema = Triples
)
async def start(self):
await self.publisher.start()
async def destroy(self):
self.running.stop()