Skip to content

Commit

Permalink
Disable automatically retry on failure #490
Browse files Browse the repository at this point in the history
  • Loading branch information
Huachao committed Jan 21, 2020
1 parent e554a7b commit 14ed096
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/httpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export class HttpClient {
followRedirect: this._settings.followRedirect,
rejectUnauthorized: false,
throwHttpErrors: false,
retry: 0,
hooks: {
beforeRequest: [
opts => {
Expand Down

0 comments on commit 14ed096

Please sign in to comment.