Skip to content

Commit ef96a82

Browse files
authored
Merge pull request #1214 from thunderstore-io/add-kafka-poll
Added poll call to properly handle kafka internal queue
2 parents 6fc2db2 + 6d47b42 commit ef96a82

File tree

1 file changed

+1
-0
lines changed
  • django/thunderstore/ts_analytics

1 file changed

+1
-0
lines changed

django/thunderstore/ts_analytics/kafka.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def _send_string(
6969
value=value_bytes,
7070
key=key_bytes,
7171
)
72+
self._producer.poll()
7273
except Exception as e: # pragma: no cover
7374
capture_exception(e)
7475

0 commit comments

Comments
 (0)