Skip to content

Commit

Permalink
fix: remove delayfirstattempt
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Dec 18, 2024
1 parent 8412ea4 commit 54db624
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/providers/src/fetch_json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export function retryConfig(numOfAttempts=RETRY_NUMBER, timeMultiple=BACKOFF_MUL
numOfAttempts: numOfAttempts,
timeMultiple: timeMultiple,
startingDelay: startingDelay,
delayFirstAttempt: true,
retry: (e: ProviderError) => {
if ([503, 500, 408].includes(e.cause)) {
return true;
Expand Down
1 change: 0 additions & 1 deletion packages/providers/src/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ export class JsonRpcProvider extends Provider {
* @param params Parameters to the method
*/
async sendJsonRpc<T>(method: string, params: object): Promise<T> {
// this.options.wait, this.options.retries, this.options.backoff,
const request = {
method,
params,
Expand Down

0 comments on commit 54db624

Please sign in to comment.