- Don't create the mail queue when the mailer is disabled to prevent `SendMail()` from blocking indefinitely - Add guard clause in `SendMail()` to return early when mailer is disabled or queue is nil - Add test to verify notifications don't block when mailer is disabled This implements the changes from #1080 with the review feedback addressed (using `package notifications` instead of `package notifications_test`). Closes #1080 |
||
|---|---|---|
| .. | ||
| database.go | ||
| db.go | ||
| logo.png | ||
| mail.go | ||
| mail_render.go | ||
| mail_test.go | ||
| main_test.go | ||
| notification.go | ||
| notification_test.go | ||
| notify_disabled_test.go | ||
| testing.go | ||