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

Improve sender retry strategy #103

Merged
merged 7 commits into from
Jun 14, 2019
Merged

Improve sender retry strategy #103

merged 7 commits into from
Jun 14, 2019

Conversation

patitonar
Copy link
Contributor

See this comment. When a tx fails, on rabbitmq a new queue is dynamically created (if not existed) with a message ttl calculated based on the retries attempts of that transaction. Once the message reaches the ttl, it is redirected to deadLetterExchange which will send the message back to the original queue that the sender is consuming. This new queue dynamically created will be autoremoved after a time of no activity.

Closes #94

@patitonar patitonar added the oracle related to TokenBridge oracle label Jun 11, 2019
@patitonar patitonar requested a review from akolotov June 11, 2019 18:22
@akolotov akolotov merged commit 8629aff into master Jun 14, 2019
@akolotov akolotov deleted the #94-oracle-sender-retry branch June 14, 2019 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oracle related to TokenBridge oracle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logs are being flooded with messages from the oracle sender in case of error
2 participants