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

TAP: eventuals timer trigger before finishing last iteration #998

Open
gusinacio opened this issue Aug 30, 2024 · 4 comments
Open

TAP: eventuals timer trigger before finishing last iteration #998

gusinacio opened this issue Aug 30, 2024 · 4 comments
Labels

Comments

@gusinacio
Copy link
Contributor

We currently have an eventual that triggers every 30 seconds and redeems all the ravs. The problem occurs when you have multiple ravs and the total redeeming takes more than 30 seconds.

In that case, ravs will still be processing and waiting for blockchain transactions when a new iteration has already started.

Due to marking a rav as redeemed is the last step, the fetch for non-redeemed ravs can potentially retrieve ravs about to be marked as redeemed. The redeem will fail with a big message "Failed to redeem query fee voucher" once and stop on the following iterations.

@gusinacio gusinacio added the TAP label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🗃️ Inbox
Development

No branches or pull requests

5 participants
@gusinacio and others