Remove some log messages
This commit is contained in:
		| @@ -36,7 +36,6 @@ export class Executor { | ||||
|     } | ||||
|  | ||||
|     private renderTaskQueue() { | ||||
|         this.logger.log('RENDER TASK QUEUE'); | ||||
|         new TaskQueueRenderer().render(this.scheduler.getTaskItems()); | ||||
|     } | ||||
|  | ||||
| @@ -54,8 +53,7 @@ export class Executor { | ||||
|  | ||||
|         const actionCommand = this.scheduler.nextAction(); | ||||
|  | ||||
|         this.logger.log('CURRENT TASK', taskCommand); | ||||
|         this.logger.log('CURRENT ACTION', actionCommand); | ||||
|         this.logger.log('CURRENT JOB', 'TASK', taskCommand, 'ACTION', actionCommand); | ||||
|  | ||||
|         try { | ||||
|             if (actionCommand) { | ||||
|   | ||||
| @@ -5,20 +5,17 @@ export function sleep(ms: number) { | ||||
| } | ||||
|  | ||||
| export async function sleepMicro() { | ||||
|     let ms = 1000 + Math.random() * 1000; | ||||
|     console.log('SLEEP SHORT', Math.round(ms / 1000)); | ||||
|     let ms = 1000 + Math.random() * 2000; | ||||
|     return await sleep(ms); | ||||
| } | ||||
|  | ||||
| export async function sleepShort() { | ||||
|     let ms = 3000 + Math.random() * 1000; | ||||
|     console.log('SLEEP SHORT', Math.round(ms / 1000)); | ||||
|     return await sleep(ms); | ||||
| } | ||||
|  | ||||
| export async function sleepLong() { | ||||
|     let ms = 120_000 + Math.random() * 300_000; | ||||
|     console.log('SLEEP LONG', Math.round(ms / 1000)); | ||||
|     return await sleep(ms); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user