Skip to content

Commit 0de9d32

Browse files
committed
Increase default timeout from 30s to 300s
1 parent 1fea7c8 commit 0de9d32

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/eleven-bees-serve.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@nomicfoundation/hardhat-utils": patch
3+
---
4+
5+
Increase http timeout

v-next/hardhat-utils/src/request.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
handleError,
2424
} from "./internal/request.js";
2525

26-
export const DEFAULT_TIMEOUT_IN_MILLISECONDS = 30_000;
26+
export const DEFAULT_TIMEOUT_IN_MILLISECONDS = 300_000; // Aligned with unidici
2727
export const DEFAULT_MAX_REDIRECTS = 10;
2828
export const DEFAULT_POOL_MAX_CONNECTIONS = 128;
2929
export const DEFAULT_USER_AGENT = "Hardhat";

0 commit comments

Comments
 (0)