Skip to content

Commit

Permalink
fix(rpc): set timeout to 8s (default was 120s) (#884)
Browse files Browse the repository at this point in the history
* fix(rpc): set timeout to 9s (default was 120s)

* fix:prettier
  • Loading branch information
xrsv authored Oct 22, 2024
1 parent 408dd7b commit de72ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rpc/SingleJsonRpcProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class SingleJsonRpcProvider extends StaticJsonRpcProvider {
{
url: url,
headers: headers,
timeout: 8000, // 8 seconds (default is 120s)
},
network
)
Expand Down

0 comments on commit de72ad0

Please sign in to comment.