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 01ad754 commit 077a6d6Copy full SHA for 077a6d6
neurons/validators/validator.py
@@ -69,7 +69,7 @@ def __init__(self, config=None):
69
self.query_miners_thread: Union[threading.Thread, None] = None
70
self.score_thread: Union[threading.Thread, None] = None
71
self.sync_thread: Union[threading.Thread, None] = None
72
- self.lock = threading.RLock()
+ self.lock = threading.Lock()
73
74
self.genie_validator = GenieValidator(neuron=self)
75
self.score_manager = ScoreManager(neuron=self)
@@ -345,7 +345,7 @@ def sync_loop(self):
345
try:
346
with self.lock:
347
self.sync()
348
- self.set_weights()
+ self.set_weights()
349
except Exception as e:
350
bt.logging.error(f"Error during sync: {str(e)}")
351
if self.should_exit:
0 commit comments