mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 16:22:49 +00:00
Fix syntax errors in Telemetry class by adding thread safety to __init__ method
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -66,6 +66,8 @@ class Telemetry:
|
||||
return cls._instance
|
||||
|
||||
def __init__(self):
|
||||
if not self._initialized:
|
||||
with self._instance_lock:
|
||||
if not self._initialized:
|
||||
self.ready = False
|
||||
self.trace_set = False
|
||||
|
||||
Reference in New Issue
Block a user