Skip to content

Commit

Permalink
feat: increase jayson client timeout (#1619)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Mar 27, 2024
1 parent 5a3ec86 commit fb18ecf
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-mirrors-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': patch
---

increase jayson client timeout
2 changes: 1 addition & 1 deletion packages/cli/src/command-helpers/jsonrpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function createJsonRpcClient(url: URL): jayson.Client | null {
path: url.pathname,
// username may be empty
auth: url.password ? `${url.username}:${url.password}` : undefined,
timeout: 60_000, // 60 seconds
timeout: 120_000, // 120 seconds
};

if (url.protocol === 'https:') {
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb18ecf

Please sign in to comment.