fix(core): update
This commit is contained in:
parent
d761b1459d
commit
5ab8115b34
@ -68,6 +68,7 @@ export class Bobcat {
|
|||||||
await plugins.smartpromise.timeoutAndContinue(this.checkMinerStatus());
|
await plugins.smartpromise.timeoutAndContinue(this.checkMinerStatus());
|
||||||
await plugins.smartdelay.delayFor(10000);
|
await plugins.smartdelay.delayFor(10000);
|
||||||
await plugins.smartpromise.timeoutAndContinue(this.gatherMinerDetails());
|
await plugins.smartpromise.timeoutAndContinue(this.gatherMinerDetails());
|
||||||
|
await plugins.smartdelay.delayFor(10000);
|
||||||
if (this.latestStatus.status === 'Synced' && parseInt(this.latestStatus.gap) > -100 && parseInt(this.latestStatus.gap) < 50) {
|
if (this.latestStatus.status === 'Synced' && parseInt(this.latestStatus.gap) > -100 && parseInt(this.latestStatus.gap) < 50) {
|
||||||
console.log(`Miner ${this.latestMinerDetails.animal} at ${this.networkAddress} is Synced. ok!`)
|
console.log(`Miner ${this.latestMinerDetails.animal} at ${this.networkAddress} is Synced. ok!`)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user