We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be7740 commit fd60bcaCopy full SHA for fd60bca
1 file changed
test/helpers/electrum.ts
@@ -12,7 +12,7 @@ const peer = {
12
ssl: 60002,
13
};
14
15
-const TIMEOUT = 30 * 1000; // 30 seconds
+const TIMEOUT = 120 * 1000; // 120 seconds
16
17
function sleep(ms: number): Promise<void> {
18
return new Promise((resolve) => setTimeout(resolve, ms));
@@ -77,7 +77,7 @@ const initElectrum = async (): Promise<ElectrumClient> => {
77
}
78
79
if (Date.now() - startTime > TIMEOUT) {
80
- throw new Error('Electrum sync timeout');
+ throw new Error('Electrum sync timeout exceeded 120 seconds');
81
82
83
await sleep(1000);
0 commit comments