fix: increase store max event listeners to 100 (SSE + watcher + engine)

This commit is contained in:
Dustin Byrne
2026-03-26 22:58:12 -04:00
parent d63412dedd
commit 3be0e1781b

View File

@@ -37,6 +37,7 @@ export class TaskStore extends EventEmitter<TaskStoreEvents> {
constructor(private rootDir: string) {
super();
this.setMaxListeners(100);
this.kbDir = join(rootDir, ".kb");
this.tasksDir = join(this.kbDir, "tasks");
this.configPath = join(this.kbDir, "config.json");