Add queue rendering cycle
This commit is contained in:
parent
0ffbf1c1a9
commit
0535204b97
@ -31,7 +31,11 @@ export default class Scheduler {
|
|||||||
async run() {
|
async run() {
|
||||||
await sleepShort();
|
await sleepShort();
|
||||||
markPage('Executor', this.version);
|
markPage('Executor', this.version);
|
||||||
new TaskQueueRenderer().render(this.taskQueue.seeItems());
|
|
||||||
|
setInterval(() => {
|
||||||
|
this.log('RENDER TASK QUEUE');
|
||||||
|
new TaskQueueRenderer().render(this.taskQueue.seeItems());
|
||||||
|
}, 1000);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
await this.doLoopStep();
|
await this.doLoopStep();
|
||||||
|
Loading…
Reference in New Issue
Block a user