Skip to content
Snippets Groups Projects

[fix]crawler : this is null exceptions

Merged inso requested to merge fix_crawler into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -202,7 +202,7 @@ export class PeerTester implements DuniterService {
async startService() {
if (this.testPeerFifoInterval)
clearInterval(this.testPeerFifoInterval);
this.testPeerFifoInterval = setInterval(() => this.testPeerFifo.push((cb:any) => this.testPeers.bind(null, this.server, this.conf, !this.FIRST_CALL)().then(cb).catch(cb)), 1000 * CrawlerConstants.TEST_PEERS_INTERVAL);
this.testPeerFifoInterval = setInterval(() => this.testPeerFifo.push((cb:any) => this.testPeers.bind(this, this.server, this.conf, !this.FIRST_CALL)().then(cb).catch(cb)), 1000 * CrawlerConstants.TEST_PEERS_INTERVAL);
await this.testPeers(this.server, this.conf, this.FIRST_CALL);
}
Loading