fix: rename queue from tower:ingest to tower-ingest (BullMQ v5 forbids colons)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,7 @@ export async function processIngestJob(job: IngestJobData, prisma: any): Promise
|
||||
|
||||
export function createIngestWorker(redisUrl: string, prisma: any): Worker<IngestJobData> {
|
||||
return new Worker<IngestJobData>(
|
||||
'tower:ingest',
|
||||
'tower-ingest',
|
||||
async (job) => processIngestJob(job.data, prisma),
|
||||
{ connection: parseRedisUrl(redisUrl) },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user