fix: Add recording of job errors, remove from queues on failure, centralize options

This commit is contained in:
Tom Moor
2021-09-09 22:38:34 -07:00
parent bd880ee984
commit 231ab2da03
3 changed files with 15 additions and 10 deletions

View File

@ -240,7 +240,6 @@ export class Mailer {
},
{
attempts: 5,
removeOnComplete: true,
backoff: {
type: "exponential",
delay: 60 * 1000,