Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: spread out brovider metrics refresh #224

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Conversation

wa0x6e
Copy link
Contributor

@wa0x6e wa0x6e commented Jan 25, 2024

🧿 Current issues / What's wrong ?

The current brovider metrics refreshing is fetching all networks at once, every 5min.
This create a pic of request

💊 Fixes / Solution

Spread out the metrics refreshing, preferring refreshing a different node every 5seconds instead

🚧 Changes

  • Refresh one different network every 5s instead of all networks every 5min

@wa0x6e wa0x6e requested a review from ChaituVR January 25, 2024 05:14
Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we need to do these on brovider itself, we don't snapshot.js here everytime it is updated for a new network

Copy link
Member

@ChaituVR ChaituVR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utAck

@wa0x6e wa0x6e merged commit 8ef5df8 into main Jan 25, 2024
1 of 2 checks passed
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.

2 participants