On Postgres, a failed operation puts the transaction in an error state where subsequent operations fail. The previous loop with continue would keep trying to use a broken transaction. Each user now gets its own transaction so a single notification failure doesn't affect others. |
||
|---|---|---|
| .. | ||
| 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 | ||