Skip to content

Commit

Permalink
feat(packages): change the default request retry count to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Azir-11 committed Jul 11, 2024
1 parent daf58a6 commit 96f4c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/axios/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function createDefaultOptions<ResponseData = any>(options?: Partial<Reque

export function createRetryOptions(config?: Partial<CreateAxiosDefaults>) {
const retryConfig: IAxiosRetryConfig = {
retries: 3
retries: 0
};

Object.assign(retryConfig, config);
Expand Down

0 comments on commit 96f4c82

Please sign in to comment.