fix job ID for poll end jobs
This commit is contained in:
parent
4d98a8fddc
commit
2a948b7710
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue