@elysiumjs/core 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/worker.ts +1 -1
package/package.json
CHANGED
package/src/worker.ts
CHANGED
|
@@ -691,7 +691,7 @@ export class WorkerPool extends InteractsWithConsole {
|
|
|
691
691
|
* @param queues The queues to listen from the worker.
|
|
692
692
|
*/
|
|
693
693
|
public async addWorker(queues: string[] = []): Promise<void> {
|
|
694
|
-
const worker = new BunWorker('./
|
|
694
|
+
const worker = new BunWorker('./index.ts', {
|
|
695
695
|
preload: this.#jobFiles,
|
|
696
696
|
argv: ['work', ...queues.map((queue) => `--queue=${queue}`)]
|
|
697
697
|
});
|