-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust
servicetalk-examples-http-retry
(#2746)
Motivation: Currently, this example shows that any 5xx response can be retryable and applies immediate retries. We should teach users in a conservative way to retry only specific status codes with exponential backoff and jitter. Modifications: - Retry only 429, 502, 503, 504 status codes; - Apply exponential backoff with jitter; Result: Example teaches users better practices.
- Loading branch information
1 parent
b42e9c4
commit 25b09db
Showing
2 changed files
with
69 additions
and
14 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