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

feat: ✨ programmatically track provider errors in cache #1016

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

james-a-morris
Copy link
Contributor

This change is meant to lay the groundwork for dynamically determining which order to rank providers for a given chain.

This first PR aims to add a key to the cache when an error occurs in a provider. This error count will be maintained using an exponential decay to maintain an average number of occurrences of an error per day. This error count can be used to rank providers

This change is meant to lay the skeleton for dynamically determining which order to rank providers for a given chain. This first PR is aimed at adding a key in the cache when errors occur. An exponential decay is used to store a count of the errors incurred by a given provider
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