Skip to content

Commit

Permalink
Fix LogEmitterProvider.force_flush hanging randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
overmeulen committed May 24, 2022
1 parent 54e2fef commit 0f06493
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def worker(self):
flush_request = self._get_and_unset_flush_request()
if (
len(self._queue) < self._max_export_batch_size
and self._flush_request is None
and flush_request is None
):
self._condition.wait(timeout)

Expand Down

0 comments on commit 0f06493

Please sign in to comment.