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.
2 parents ef4ca13 + 380b0b9 commit 152e0daCopy full SHA for 152e0da
src/databricks/sql/telemetry/telemetry_client.py
@@ -352,6 +352,7 @@ class TelemetryClientFactory:
352
_executor: Optional[ThreadPoolExecutor] = None
353
_initialized: bool = False
354
_lock = threading.RLock() # Thread safety for factory operations
355
+ # used RLock instead of Lock to avoid deadlocks when garbage collection is triggered
356
_original_excepthook = None
357
_excepthook_installed = False
358
0 commit comments