Skip to content

Commit

Permalink
increase attempt count
Browse files Browse the repository at this point in the history
  • Loading branch information
MBR-0001 committed Dec 27, 2020
1 parent bf22cde commit 3e50c91
Showing 1 changed file with 1 addition 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

0 comments on commit 3e50c91

Please sign in to comment.