-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option for automatic HTTP request retries on network error
The DefaultHTTPRetries option in Client and AppService sets the number of retries that *all* HTTP requests do if they encounter a network or gateway (502-504) error. The default is 0, which means no retries. It can also be set per-request with FullRequest's MaxAttempts field. That field starts at 1 instead of 0 so that the default of 0 means using the default value from the Client.
- Loading branch information
Showing
2 changed files
with
125 additions
and
83 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