Skip to content

Commit

Permalink
fix settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
okhat committed Nov 24, 2024
1 parent 21ab3bb commit 56456e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsp/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Settings:
def __new__(cls):
if cls._instance is None:
cls._instance = super().__new__(cls)
# No need for a lock since we're only updating main_thread_config in the main thread
cls._instance.lock = threading.Lock() # maintained here for DSPy assertions.py
return cls._instance

def __getattr__(self, name):
Expand Down

0 comments on commit 56456e0

Please sign in to comment.