Skip to content

Commit

Permalink
fix: DIA-1739: Not getting results for image prompts (#283)
Browse files Browse the repository at this point in the history
Co-authored-by: hakan458 <[email protected]>
Co-authored-by: Nikita Belonogov <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 2fa3215 commit db98299
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ async def submit_batch(batch: BatchData):
try:
for record in batch.data:
await producer.send_and_wait(topic, value=record)
# FIXME Temporary workaround for messages getting dropped.
# Remove once our kafka messaging is more reliable.
time.sleep(0.1)

batch_size = len(json.dumps(batch.dict()).encode("utf-8"))
logger.info(
Expand Down

0 comments on commit db98299

Please sign in to comment.