Skip to content

Commit fb18ecf

Browse files
authored
feat: increase jayson client timeout (#1619)
1 parent 5a3ec86 commit fb18ecf

File tree

3 files changed

+28
-23
lines changed

3 files changed

+28
-23
lines changed

.changeset/few-mirrors-obey.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/graph-cli': patch
3+
---
4+
5+
increase jayson client timeout

packages/cli/src/command-helpers/jsonrpc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export function createJsonRpcClient(url: URL): jayson.Client | null {
88
path: url.pathname,
99
// username may be empty
1010
auth: url.password ? `${url.username}:${url.password}` : undefined,
11-
timeout: 60_000, // 60 seconds
11+
timeout: 120_000, // 120 seconds
1212
};
1313

1414
if (url.protocol === 'https:') {

pnpm-lock.yaml

+22-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)