Revert "enhance(backend): migrate bull to bullmq (#10910)"
This reverts commit fd7b77c542
.
This commit is contained in:
parent
cc87ef9e76
commit
9b3a92e999
42 changed files with 509 additions and 542 deletions
|
@ -510,7 +510,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
|
||||
if (data.poll && data.poll.expiresAt) {
|
||||
const delay = data.poll.expiresAt.getTime() - Date.now();
|
||||
this.queueService.endedPollNotificationQueue.add(note.id, {
|
||||
this.queueService.endedPollNotificationQueue.add({
|
||||
noteId: note.id,
|
||||
}, {
|
||||
delay,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue