diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-11-29 14:45:16 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-04-22 08:02:11 +0300 |
commit | 69f8f9446e862286d631b823e836d5fa049573ed (patch) | |
tree | d58ccf2bd2a2acb5d4aaba2cfea01be4b72ebb09 /docs/configuration/cheatsheet.md | |
parent | b050adb5e2d1add4cb2f5d24010ace33af16a381 (diff) | |
download | pleroma-69f8f9446e862286d631b823e836d5fa049573ed.tar.gz |
batch mention email notifications in timeframefeature/2295-email-mention-notification
Diffstat (limited to 'docs/configuration/cheatsheet.md')
-rw-r--r-- | docs/configuration/cheatsheet.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 069421722..262978b7d 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -715,6 +715,7 @@ Pleroma has these periodic job workers: * `Pleroma.Workers.Cron.DigestEmailsWorker` - digest emails for users with new mentions and follows * `Pleroma.Workers.Cron.NewUsersDigestWorker` - digest emails for admins with new registrations +* `Pleroma.Workers.Cron.EmailMentionsWorker` - email with missed mentions notifications in special timeframe ```elixir config :pleroma, Oban, @@ -726,6 +727,7 @@ config :pleroma, Oban, federator_outgoing: 50 ], crontab: [ + {"*/15 * * * *", Pleroma.Workers.Cron.EmailMentionsWorker}, {"0 0 * * 0", Pleroma.Workers.Cron.DigestEmailsWorker}, {"0 0 * * *", Pleroma.Workers.Cron.NewUsersDigestWorker} ] @@ -1154,3 +1156,10 @@ Each job has these settings: * `:max_running` - max concurrently runnings jobs * `:max_waiting` - max waiting jobs + +## Mention emails (Pleroma.Workers.Cron.EmailMentionsWorker) + +The worker sends email notifications not read in a certain timeframe. + +* `:enabled` - enables email notifications for missed mentions & chat mentions +* `:timeframe` - the period after which the sending of emails begins for missed mentions (in minutes) |