trac-msb 0.1.40 → 0.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -766,8 +766,8 @@ export class MainSettlementBus extends ReadyResource {
|
|
|
766
766
|
this.#swarm.joinPeer(b4a.from(address, 'hex'));
|
|
767
767
|
let cnt = 0;
|
|
768
768
|
while(false === this.#swarm.peers.has(address)){
|
|
769
|
-
if(cnt >=
|
|
770
|
-
await sleep(
|
|
769
|
+
if(cnt >= 1500) break;
|
|
770
|
+
await sleep(10);
|
|
771
771
|
cnt += 1;
|
|
772
772
|
}
|
|
773
773
|
}
|