Revert changes
This commit is contained in:
parent
952e8443bc
commit
9546c1dae0
@ -40,6 +40,8 @@ export class Executor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async doTaskProcessingStep() {
|
private async doTaskProcessingStep() {
|
||||||
|
await sleepMicro();
|
||||||
|
|
||||||
const currentTs = timestamp();
|
const currentTs = timestamp();
|
||||||
const taskCommand = this.scheduler.nextTask(currentTs);
|
const taskCommand = this.scheduler.nextTask(currentTs);
|
||||||
|
|
||||||
@ -47,7 +49,6 @@ export class Executor {
|
|||||||
if (!taskCommand) {
|
if (!taskCommand) {
|
||||||
this.logger.log('NO ACTIVE TASK');
|
this.logger.log('NO ACTIVE TASK');
|
||||||
this.scheduler.clearActions();
|
this.scheduler.clearActions();
|
||||||
await sleepMicro();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user