Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
increase timeout via patch
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgos committed Oct 26, 2020
1 parent 6045de9 commit a59fb9c
Show file tree
Hide file tree
Showing 3 changed files with 749 additions and 13 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@
"author": "",
"license": "ISC",
"devDependencies": {
"patch-package": "^6.2.2",
"postinstall-postinstall": "^2.1.0",
"truffle": "^5.1.42",
"web3": "^1.2.11"
},
"dependencies": {
"@babel/core": "^7.0.0-0",
"@truffle/hdwallet-provider": "^1.1.1",
"dotenv": "^8.2.0"
},
"scripts": {
"postinstall": "patch-package"
}
}
13 changes: 13 additions & 0 deletions patches/@trufflesuite+web3-provider-engine+15.0.13-1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc.js b/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc.js
index fca5e02..f224e68 100644
--- a/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc.js
+++ b/node_modules/@trufflesuite/web3-provider-engine/subproviders/rpc.js
@@ -31,7 +31,7 @@ RpcSource.prototype.handleRequest = function(payload, next, end){
},
body: JSON.stringify(newPayload),
rejectUnauthorized: false,
- timeout: 20000,
+ timeout: 40000,
}, function(err, res, body) {
if (err) return end(serializeError(err))

Loading

0 comments on commit a59fb9c

Please sign in to comment.