Skip to content

Commit

Permalink
Revert eth p2p change
Browse files Browse the repository at this point in the history
  • Loading branch information
micahriggan committed Apr 17, 2020
1 parent a9b773d commit 45481fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bitcore-node/src/modules/ethereum/p2p/p2p.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class EthP2pWorker extends BaseP2PWorker<IEthBlock> {
}
disconnected = !connected;
} catch (e) {}
await wait(10000);
await wait(2000);
}
}

Expand Down Expand Up @@ -255,7 +255,7 @@ export class EthP2pWorker extends BaseP2PWorker<IEthBlock> {
}
} catch (err) {
logger.error(`Error syncing ${chain} ${network}`, err.message);
await wait(10000);
await wait(2000);
this.syncing = false;
return this.sync();
}
Expand Down

0 comments on commit 45481fc

Please sign in to comment.