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 a retry queue to requests #560

Open
Justinzobel opened this issue Nov 14, 2024 · 0 comments
Open

Add a retry queue to requests #560

Justinzobel opened this issue Nov 14, 2024 · 0 comments

Comments

@Justinzobel
Copy link

Quite often we'll get an error in our room saying

1 errors updating protected rooms!

    [Room Name] - Error during MatrixClient request GET [URL] - 503 Service Temporarily Unavailable -- 503 Service Temporarily Unavailable
    503 Service Temporarily Unavailable
    nginx
```

Mjolnir would be great if it could just keep trying since as it says this is a temporary service issue. The retry queue should be incremental of course, try after 5 seconds, then 15, 30, 60, 180, 600. Then if after all those tries it still cannot get the request in, send the error message to the channel.
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

No branches or pull requests

1 participant