Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/humanloop/otel/exporter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging

import time
import typing
from queue import Empty as EmptyQueue
from queue import Queue
Expand Down Expand Up @@ -129,7 +130,8 @@ def _do_work(self):
# Don't block or the thread will never be notified of the shutdown
thread_args = self._upload_queue.get(block=False) # type: ignore
except EmptyQueue:
# Wait for the another span to arrive
# Wait for another span to arrive
time.sleep(0.1)
continue

span_to_export, eval_context_callback = thread_args
Expand Down
Loading