fix job ID for poll end jobs

This commit is contained in:
Hazelnoot 2025-10-23 13:00:13 -04:00
parent 4d98a8fddc
commit 2a948b7710
2 changed files with 2 additions and 2 deletions

View file

@ -663,7 +663,7 @@ export class NoteCreateService implements OnApplicationShutdown {
this.queueService.endedPollNotificationQueue.add(note.id, {
noteId: note.id,
}, {
jobId: `pollEnd:${note.id}`,
jobId: `pollEnd_${note.id}`,
delay,
removeOnComplete: {
age: 3600 * 24 * 7, // keep up to 7 days

View file

@ -632,7 +632,7 @@ export class NoteEditService implements OnApplicationShutdown {
this.queueService.endedPollNotificationQueue.add(note.id, {
noteId: note.id,
}, {
jobId: `pollEnd:${note.id}`,
jobId: `pollEnd_${note.id}`,
delay,
removeOnComplete: true,
});