summaryrefslogtreecommitdiff
path: root/docs/config.md
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-03-29 12:46:05 +0000
committerlambda <lain@soykaf.club>2019-03-29 12:46:05 +0000
commita5edc4da6225ff2bf1ea8862b1c857d7e87c920f (patch)
tree8f71e5e0ea01e964b5232e4de24389a8353f3d2a /docs/config.md
parent749d53e2b2ffb108964c569f04e5989c63643338 (diff)
parent9a39d1d84613bb11542a0628e8b762970bd18bd0 (diff)
downloadpleroma-a5edc4da6225ff2bf1ea8862b1c857d7e87c920f.tar.gz
pleroma-a5edc4da6225ff2bf1ea8862b1c857d7e87c920f.zip
Merge branch 'pleroma_job_queue' into 'develop'
Replace Pleroma.Jobs with `pleroma_job_queue` See merge request pleroma/pleroma!992
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md17
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