fix: remove completed and failed reminder jobs

This commit is contained in:
Daniel Hougaard
2024-12-17 23:32:04 +01:00
parent ccb757ec3e
commit cc3e0d1922

View File

@@ -248,7 +248,9 @@ export const secretQueueFactory = ({
? secondsToMillis(newSecret.secretReminderRepeatDays)
: daysToMillisecond(newSecret.secretReminderRepeatDays),
immediately: true
}
},
removeOnComplete: true,
removeOnFail: true
}
);
} catch (err) {