element-hq / element-hq/element-android

Speed up failed event retrying

Open
#4,395 0 comments 0 reactions 0 assignees View on GitHub
A-Send event T-Enhancement
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Your use case

#### What would you like to do?
Reduce the time taken to resend failed events

#### Why would you like to do it?
To improve timeline responsiveness on flaky connections/home servers

#### How would you like to achieve it?
By exponentially backing off the retry mechanism from 500ms, 1 second, 5 seconds, 10 seconds instead of always using a 10 second polling mechanism.

### Have you considered any alternatives?

_No response_

### Additional context

https://github.com/vector-im/element-android/pull/2902

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.