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

Add retries to requests #61

Open
JaniAnttonen opened this issue Feb 23, 2022 · 4 comments
Open

Add retries to requests #61

JaniAnttonen opened this issue Feb 23, 2022 · 4 comments
Assignees

Comments

@JaniAnttonen
Copy link
Member

If a request fails / timeouts, add a retry logic with exponential backoff.

@muzam1l
Copy link
Member

muzam1l commented Feb 24, 2022

Should we have have const interval like 3s to fetch stakes like we do for available stakes data?

@JaniAnttonen
Copy link
Member Author

Might be a bit much. Stakes don't change unless the user does something, so we just need to be sure that they're fetched correctly initially and when there's a change. Related user feedback: "The stake was not visible after it was confirmed by the snackbar. Had to refresh site after a couple of seconds?"

@JaniAnttonen
Copy link
Member Author

You working on this @muzam1l or care if I take this?

@muzam1l
Copy link
Member

muzam1l commented Feb 25, 2022

You can go for it 👍.

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 a pull request may close this issue.

2 participants