Skip to content

Add a retry queue to requests #560

Open
@Justinzobel

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions