-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Poling translations infinite loop fix
If downloading translations fails due to reasons such as the inability to create the downloaded file the "redirect" field in the response is empty and satus of task pending. An infinite loop can occur. Based on backoff functionality, a request will be retried after 1s, 1s, 1s, 2s, 3s, 5s, 8s, 13s and then after 13s forever To avoid this we can break the loop after a certain number of retries Introduce max retries on polling
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters