8000 FIX: queue.get() interface · fluent/fluent-logger-python@d920d71 · GitHub
[go: up one dir, main page]

Skip to content

Commit d920d71

Browse files
committed
FIX: queue.get() interface
1 parent e66e4e3 commit d920d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fluent/asyncsender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def send(self, bytes_):
6666
def run(self):
6767
while self._do_run:
6868
try:
69-
bytes_ = self._queue.get(block=False, timeout=self._queue_timeout)
69+
bytes_ = self._queue.get(block=True, timeout=self._queue_timeout)
7070
except Empty:
7171
continue
7272
self._conn_close_lock.acquire()

0 commit comments

Comments
 (0)
0