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

Generic hanlding of rate limit eror by the SDK #3142

Merged
merged 4 commits into from
Apr 8, 2021

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Apr 8, 2021

Fixes #1300
I think it also fixes #2240

@bmarty bmarty requested a review from BillCarsonFr April 8, 2021 10:52
@bmarty bmarty merged commit 65b4b29 into develop Apr 8, 2021
@bmarty bmarty deleted the feature/bma/global_retry branch April 8, 2021 16:23
@@ -28,22 +29,21 @@ import java.io.IOException

/**
* Execute a request from the requestBlock and handle some of the Exception it could generate
* Ref: https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/scheduler.js#L138-L175
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Errors during message redaction are not handled Handle 429 M_LIMIT_EXCEEDED error with a global policy
3 participants