(job: QueueJob)
| 846 | } |
| 847 | |
| 848 | addJob(job: QueueJob): string { |
| 849 | this.queue.push(job); |
| 850 | handleLog( |
| 851 | `[${getLogPrefix(job.type)}] Added job ${job.id} (${job.type}) to queue. Queue length: ${this.queue.length}`, |
| 852 | ); |
| 853 | return job.id; |
| 854 | } |
| 855 | |
| 856 | getStatus() { |
| 857 | const busyWorkerCount = this.workerJobAssignment.size; |
no test coverage detected