element-hq / element-hq/element-android

[SDK] Indefinitely retry events on network-related problems

Open
#2,901 1 comment 0 reactions 0 assignees View on GitHub
matrix-sdk
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

As in the title, make processing events only increase their retry time if the problems are application-related, e.g. token error or "other" exceptions, no `M_LIMIT_EXCEEDED` and connection problems.

This'll make message-sending reliable through dodgy connections, and only then gives up if the server sends 500 errors and the like, which aren't programmatically sure to self-resolve in time anyway.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.