-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where retries were not being properly set
Stung by the infamous isset() vs null issue in PHP. Need to check if the `retries` param is set OR if it is null, since the default set of config options set `retries` to null. This bug prevented retries from taking place, which meant that under normal operating scenarios a bad host could take down the client with an exception, when it normally should have retried on a different host.
- Loading branch information
1 parent
3af3188
commit cb2a6e8
Showing
2 changed files
with
27 additions
and
2 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