We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dcda1d commit 02380b7Copy full SHA for 02380b7
sentry_sdk/worker.py
@@ -21,7 +21,7 @@ class BackgroundWorker:
21
def __init__(self, queue_size=DEFAULT_QUEUE_SIZE):
22
# type: (int) -> None
23
self._queue = Queue(queue_size) # type: Queue
24
- self._lock = threading.Lock()
+ self._lock = threading.RLock()
25
self._thread = None # type: Optional[threading.Thread]
26
self._thread_for_pid = None # type: Optional[int]
27
0 commit comments