Skip to content

Tune mainnet0 reporting cadence and restore runtime refresh loop#227

Open
cortensor-ryuma wants to merge 1 commit into
mainfrom
dev-stable
Open

Tune mainnet0 reporting cadence and restore runtime refresh loop#227
cortensor-ryuma wants to merge 1 commit into
mainfrom
dev-stable

Conversation

@cortensor-ryuma

Copy link
Copy Markdown
Contributor

This PR reduces routine mainnet0 transaction frequency and fixes the agent runtime/contract refresh loop.

Changes:

  • Set mainnet0 NodeStats ping thresholds to 1800s / 30 minutes.
  • Set mainnet0 version report interval to 6 hours.
  • Set mainnet0 spec report interval to 6 hours.
  • Add optional oracle network-task cooldown config:
    • ENABLE_NETWORK_TASK_COOLDOWN
    • NETWORK_TASK_COOLDOWN_SECONDS
  • Enable a 10-minute cooldown for mainnet0 oracle 0.
  • Store latest network-task end time for cooldown gating.
  • Fix reload_contracts_and_parameters() so the first-call skip no longer prevents future refresh timers from being scheduled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant