forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNMobile] Avoid "429 - Too Many Request" error when fetching transla…
…tions (WordPress#51103) * Fetch translations in batches * Abort fetch translations process upon failure * Avoid parsing response if translation request failed * Retry translation download when getting error 429 * Revert fetch translations in batches * Fix language URL I noticed when testing that requests to the language URL were being redirected. For this reason, the URL has been updated to avoid this redirection.
- Loading branch information
1 parent
17027b5
commit 727fb33
Showing
1 changed file
with
52 additions
and
12 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