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

Implement automatic retry on certain blockchain errors #1952

Open
chuck-h opened this issue Jun 10, 2024 · 0 comments
Open

Implement automatic retry on certain blockchain errors #1952

chuck-h opened this issue Jun 10, 2024 · 0 comments
Labels

Comments

@chuck-h
Copy link
Collaborator

chuck-h commented Jun 10, 2024

Background
Telos blockchain transactions can be rejected if they take too much CPU time to execute, and this is often a transient phenomenon (e.g. due to cache misses in a processing node). An immediate retry is usually successful.
Also, api servers sometimes go offline or become congested. In these cases the best strategy is to retry with a different endpoint.

Suggestion
Implement a uniform mechanism to respond to transient api problems by retrying in an appropriate way.

@chuck-h chuck-h added the story label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant