Revert changes

This commit is contained in:
Anton Vakhrushev 2020-04-20 09:51:06 +03:00
parent 952e8443bc
commit 9546c1dae0

View File

@ -40,6 +40,8 @@ export class Executor {
}
private async doTaskProcessingStep() {
await sleepMicro();
const currentTs = timestamp();
const taskCommand = this.scheduler.nextTask(currentTs);
@ -47,7 +49,6 @@ export class Executor {
if (!taskCommand) {
this.logger.log('NO ACTIVE TASK');
this.scheduler.clearActions();
await sleepMicro();
return;
}