Fix case sensitivity in worker file path in SchedulerManager
All checks were successful
farmcontrol/farmcontrol-scheduler/pipeline/head This commit looks good

This commit is contained in:
Tom Butcher 2026-09-06 23:17:39 +01:00
parent 04eb087737
commit 10b5074f94

View File

@ -50,10 +50,10 @@ export class SchedulerManager {
/** /**
* Spins up the worker thread that runs the polling loop, and wires up * Spins up the worker thread that runs the polling loop, and wires up
* its messages back to this manager. The loop itself lives entirely in * its messages back to this manager. The loop itself lives entirely in
* schedulerWorker.js so it never blocks the main event loop. * schedulerworker.js so it never blocks the main event loop.
*/ */
startWorker() { startWorker() {
this.worker = new Worker(path.join(__dirname, "schedulerWorker.js")); this.worker = new Worker(path.join(__dirname, "schedulerworker.js"));
this.worker.on("message", (message) => this.handleWorkerMessage(message)); this.worker.on("message", (message) => this.handleWorkerMessage(message));