Skip to content

Commit

Permalink
feat - increase retry limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rumblefrog committed Jan 15, 2022
1 parent 1724213 commit 0addb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export class Client {
public async request<T>(url: string, args: RequestOptions = {}): Promise<Response<T>> {
args.method = args.method ?? 'GET';
args.responseType = args.responseType ?? 'text';
args.attempts = args.attempts ?? 2;
args.attempts = args.attempts ?? 4;

if (args.cookieJar) {
const cookie = args.cookieJar.getCookieStringSync(url);
Expand Down

0 comments on commit 0addb08

Please sign in to comment.