Skip to content

Commit 20c90f5

Browse files
committed
Preventing flushing again right away after first flush
1 parent edde92a commit 20c90f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sentry_sdk/_log_batcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def _flush_loop(self):
6767
# type: (...) -> None
6868
while self._running:
6969
self._flush_event.wait(self.FLUSH_WAIT_TIME + random.random())
70+
self._flush_event.clear()
7071
self._flush()
7172

7273
def add(

0 commit comments

Comments
 (0)