Skip to content
This repository has been archived by the owner on Aug 21, 2021. It is now read-only.

v1.0.2: Do not request metrics while validator is syncing

Latest
Compare
Choose a tag to compare
@leoluk leoluk released this 03 Feb 17:21
· 4 commits to master since this release

This release contains a workaround for near/nearcore#3614.

If the validators RPC call is requested while the node is syncing, the node fetches historic data. This is a very expensive operation and can slow down chain sync. We now check /status and return a scraping error if the node is currently syncing.