mirror of
https://github.com/docmost/docmost.git
synced 2025-11-20 03:21:12 +10:00
Implement BullMQ for background job processing
* new REDIS_URL environment variable
This commit is contained in:
@ -25,6 +25,7 @@ export class PostmarkDriver implements MailDriver {
|
||||
this.logger.debug(`Sent mail to ${message.to}`);
|
||||
} catch (err) {
|
||||
this.logger.warn(`Failed to send mail to ${message.to}: ${err}`);
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,6 +27,7 @@ export class SmtpDriver implements MailDriver {
|
||||
this.logger.debug(`Sent mail to ${message.to}`);
|
||||
} catch (err) {
|
||||
this.logger.warn(`Failed to send mail to ${message.to}: ${err}`);
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user