Public Access
1
0

fix: make docker startup complete successfully

This commit is contained in:
pguerrerox
2026-05-05 00:09:52 +00:00
parent a48c954945
commit ecb3310216
5 changed files with 9 additions and 1 deletions
+3
View File
@@ -2,6 +2,9 @@ import type { PgBoss } from 'pg-boss';
import { RUN_DEEP_RESEARCH_BATCH_JOB, RUN_SEARCH_JOB } from './names.js';
export async function registerJobs(boss: PgBoss) {
await boss.createQueue(RUN_SEARCH_JOB);
await boss.createQueue(RUN_DEEP_RESEARCH_BATCH_JOB);
await boss.work(RUN_SEARCH_JOB, async ([job]) => {
console.warn(`Job ${RUN_SEARCH_JOB} is queued but not implemented yet`, job?.id);
});