Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Aug 5, 2024
1 parent 3adaafd commit 714fff2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ async def main():
batch_size=BATCH_SIZE, batch_queue=batch_queue, report_queue=report_queue
)
)
asyncio.create_task(insert_batch(batch_queue=batch_queue))
asyncio.create_task(
insert_batch(batch_queue=batch_queue, error_queue=producer.send_queue)
)

while True:
await asyncio.sleep(60)
Expand Down

0 comments on commit 714fff2

Please sign in to comment.