diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-02-29 11:29:45 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-02-29 11:29:45 +0000 |
commit | 5db2fb3ce7d45958dd657828b36c2d5b9e521d90 (patch) | |
tree | ff089e22c34c92ba8d5ebf6b9700964610c74910 | |
parent | aad057a2d6baaa342f47f55d330f0731277dac06 (diff) | |
parent | 04b03e476281be412d3505f514bd34d31e735214 (diff) | |
download | pleroma-5db2fb3ce7d45958dd657828b36c2d5b9e521d90.tar.gz |
Merge branch 'descriptions-changes' into 'develop'
Adding streamer group & Oban crontab child to descriptions.exs
Closes #1592
See merge request pleroma/pleroma!2258
-rw-r--r-- | config/description.exs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index aa8a8d790..bcb69bc41 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1903,6 +1903,18 @@ config :pleroma, :config_description, [ suggestions: [50] } ] + }, + %{ + key: :crontab, + type: {:list, :tuple}, + description: "Settings for cron background jobs", + suggestions: [ + {"0 0 * * *", Pleroma.Workers.Cron.ClearOauthTokenWorker}, + {"0 * * * *", Pleroma.Workers.Cron.StatsWorker}, + {"* * * * *", Pleroma.Workers.Cron.PurgeExpiredActivitiesWorker}, + {"0 0 * * 0", Pleroma.Workers.Cron.DigestEmailsWorker}, + {"0 0 * * *", Pleroma.Workers.Cron.NewUsersDigestWorker} + ] } ] }, @@ -2928,5 +2940,25 @@ config :pleroma, :config_description, [ description: "A path to custom Elixir modules (such as MRF policies)." } ] + }, + %{ + group: :pleroma, + key: :streamer, + type: :group, + description: "Settings for notifications streamer", + children: [ + %{ + key: :workers, + type: :integer, + description: "Number of workers to send notifications.", + suggestions: [3] + }, + %{ + key: :overflow_workers, + type: :integer, + description: "Maximum number of workers created if pool is empty.", + suggestions: [2] + } + ] } ] |