Skip to content

Commit

Permalink
Fix lag of 1 in offset commits caused by StreamTarget (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtopper authored Feb 28, 2024
1 parent 33bf028 commit 7f9ec9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storey/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@ async def _worker(self):
in_flight_reqs.append(None)
in_flight_events.append(None)
while True:
event = None
try:
request_sent_on_empty_queue = False
if self._q.empty():
Expand Down

0 comments on commit 7f9ec9d

Please sign in to comment.