Skip to content

Commit 5f78825

Browse files
authored
feat: increase jayson client timeout (#1593)
1 parent afe7749 commit 5f78825

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/polite-hounds-serve.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
Original file line numberDiff line numberDiff line change
@@ -8,6 +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
1112
};
1213

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

0 commit comments

Comments
 (0)