Skip to content

Commit

Permalink
workflow use queue now
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansh5461 committed Apr 17, 2024
1 parent 88645d4 commit 9da2a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion querent/ingestors/ingestor_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def chunk_generator() -> AsyncGenerator[CollectedBytes, None]:

async for chunk_tokens in ingestor.ingest(chunk_generator()):
if self.result_queue is not None:
await self.result_queue.put_nowait(chunk_tokens)
self.result_queue.put_nowait(chunk_tokens)
# elif tokens_feader is not None:
# tokens_feader.send_tokens_in_rust(
# {
Expand Down

0 comments on commit 9da2a19

Please sign in to comment.