Skip to content

Commit 152e0da

Browse files
committed
Merge branch 'telemetry' into PECOBLR-554
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
2 parents ef4ca13 + 380b0b9 commit 152e0da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/databricks/sql/telemetry/telemetry_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ class TelemetryClientFactory:
352352
_executor: Optional[ThreadPoolExecutor] = None
353353
_initialized: bool = False
354354
_lock = threading.RLock() # Thread safety for factory operations
355+
# used RLock instead of Lock to avoid deadlocks when garbage collection is triggered
355356
_original_excepthook = None
356357
_excepthook_installed = False
357358

0 commit comments

Comments
 (0)