-
Notifications
You must be signed in to change notification settings - Fork 87
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
Relax Polling Rate of Status Page #2866
base: staging
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you make this configurable or from constant instead of hard coded ?
Updated to be a |
@@ -66,17 +67,17 @@ const App = () => { | |||
})), | |||
); | |||
setHasError(false); | |||
setRefreshInterval(800); // Reset to faster refresh rate on success | |||
setRefreshInterval(5000); // Reset to faster refresh rate on success |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hardcoded value here ?
Comment says "faster", but 5000 is the same value of the REFRESH_INTERVAL constant, which seems to be used for the "Slow down" scenario...
=> maybe we need REFRESH_INTERVAL_FAST and REFRESH_INTERVAL_SLOW ?
Increases time between endpoint queries
should resolve timeouts mentioned in https://github.com/w3f/1k-validators-be-PRIVATE/issues/50