mattermost-mobile/android
Amit Uttam ea0f8ab5f0
MM-22181 Backoff retries for ID-loaded push notification messages (#4302)
* MM-22181 Backoff retries for ID-loaded push notification messages

Fibonacci backoffs. 6 attempts in ~20 seconds, not including response latency for each failure.

0 seconds to attempt 1 (original try)
1 seconds to attempt 2
2 seconds to attempt 3
3 seconds to attempt 4
5 seconds to attempt 5
8 seconds to attempt 6

* PR review: Reset re-request counter when server call succeeds

* PR Review: Localize scope of recursion counter

This handles scenario where multiple notification requests are being made at the same time for multiple messages. Counter will be isolated for each fetch request.

* PR Review: Remove unnecessary class variable

* Trigger Build

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-19 10:48:55 -07:00
..
app MM-22181 Backoff retries for ID-loaded push notification messages (#4302) 2020-05-19 10:48:55 -07:00
gradle/wrapper Upgrade to RN 0.62.2 (#4093) 2020-04-14 16:39:51 -04:00
build.gradle MM-23570 Migrate from Segment to Rudder (#4293) 2020-05-13 16:54:07 -04:00
gradle.properties Upgrade to RN 0.62.2 (#4093) 2020-04-14 16:39:51 -04:00
gradlew Upgrade to RN 0.62.2 (#4093) 2020-04-14 16:39:51 -04:00
gradlew.bat Upgrade to RN 0.62.2 (#4093) 2020-04-14 16:39:51 -04:00
settings.gradle Upgrade Navigation library (#3997) 2020-03-09 12:50:42 -07:00