Skip to content

Commit

Permalink
feat: increase jayson client timeout (#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj authored Feb 23, 2024
1 parent afe7749 commit 5f78825
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-hounds-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/graph-cli': patch
---

increase jayson client timeout
1 change: 1 addition & 0 deletions packages/cli/src/command-helpers/jsonrpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +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
};

if (url.protocol === 'https:') {
Expand Down

0 comments on commit 5f78825

Please sign in to comment.