Skip to content

Commit

Permalink
Set weights once an hour
Browse files Browse the repository at this point in the history
  • Loading branch information
RusticLuftig committed Dec 22, 2024
1 parent b97c807 commit 034c56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neurons/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,8 @@ def set_weights(self):
except Exception as e:
logging.error(f"Error in set weights: {e}")

# Only try at most once every 20 minutes
time.sleep(60 * 20)
# Only set weights once every hour
time.sleep(60 * 60)

logging.info("Exiting set weights loop.")

Expand Down

0 comments on commit 034c56f

Please sign in to comment.