Skip to content

Commit

Permalink
bigger timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
MBR-0001 committed Dec 27, 2020
1 parent 0e1cf13 commit 62a2d1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ class SourceQuery {
});
attempts++;
}
while (attempts < 10 && !data);
while (attempts < 50 && !data);

if (!data) reject(new Error("timed out waiting for " + request_fn + " response from " + this.address));
else resolve(data);
Expand Down
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ async function TestServer(ip) {

async function TestServers(log = false) {
console.log("Starting test, CI: " + !!process.env.CI);
process.env.CI = false;
let failed = [];

for (let server of servers) {
Expand Down

0 comments on commit 62a2d1b

Please sign in to comment.