@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/worker.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elysiumjs/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "A super-charged web framework for Bun, built on top of ElysiaJS.",
6
6
  "private": false,
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('./styx', {
694
+ const worker = new BunWorker('./index.ts', {
695
695
  preload: this.#jobFiles,
696
696
  argv: ['work', ...queues.map((queue) => `--queue=${queue}`)]
697
697
  });