Skip to content

Commit

Permalink
Set default timeout to 60 seconds for simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Feb 1, 2022
1 parent ca1c523 commit 3bd7241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/client/utils/httpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class HttpClient implements IHttpClient {
constructor(opts: HttpClientOptions) {
this.baseUrl = opts.baseUrl;
// A higher default timeout, validator will sets its own shorter timeoutMs
this.timeoutMs = opts.timeoutMs ?? 40000;
this.timeoutMs = opts.timeoutMs ?? 60_000;
this.getAbortSignal = opts.getAbortSignal;
this.fetch = opts.fetch ?? fetch;
}
Expand Down

0 comments on commit 3bd7241

Please sign in to comment.