diff options
author | Egor <egor@kislitsyn.com> | 2019-03-29 12:46:05 +0000 |
---|---|---|
committer | lambda <lain@soykaf.club> | 2019-03-29 12:46:05 +0000 |
commit | 9a39d1d84613bb11542a0628e8b762970bd18bd0 (patch) | |
tree | 8f71e5e0ea01e964b5232e4de24389a8353f3d2a /docs/config.md | |
parent | 749d53e2b2ffb108964c569f04e5989c63643338 (diff) | |
download | pleroma-9a39d1d84613bb11542a0628e8b762970bd18bd0.tar.gz pleroma-9a39d1d84613bb11542a0628e8b762970bd18bd0.zip |
Replace Pleroma.Jobs with `pleroma_job_queue`
Diffstat (limited to 'docs/config.md')
-rw-r--r-- | docs/config.md | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/docs/config.md b/docs/config.md index c1246ee25..c206358ab 100644 --- a/docs/config.md +++ b/docs/config.md @@ -253,25 +253,20 @@ You can then do curl "http://localhost:4000/api/pleroma/admin/invite_token?admin_token=somerandomtoken" ``` -## Pleroma.Jobs +## :pleroma_job_queue -A list of job queues and their settings. - -Job queue settings: - -* `max_jobs`: The maximum amount of parallel jobs running at the same time. +[Pleroma Job Queue][https://git.pleroma.social/pleroma/pleroma_job_queue] configuration: a list of queues with maximum concurrent jobs. Example: -```exs -config :pleroma, Pleroma.Jobs, - federator_incoming: [max_jobs: 50], - federator_outgoing: [max_jobs: 50] +```elixir +config :pleroma_job_queue, :queues, + federator_incoming: 50, + federator_outgoing: 50 ``` This config contains two queues: `federator_incoming` and `federator_outgoing`. Both have the `max_jobs` set to `50`. - ## Pleroma.Web.Federator.RetryQueue * `enabled`: If set to `true`, failed federation jobs will be retried |