aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-08-23 18:28:23 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-08-23 18:28:23 +0300
commit581123f8bb703023cb652267a1fc34292f862852 (patch)
tree7c4bb9fc62e7dfc35ea8c0d15715d2d4c31abe64 /docs
parentc056736daaedb2a08557ee6c6a9bcb6bf44110ca (diff)
downloadpleroma-581123f8bb703023cb652267a1fc34292f862852.tar.gz
[#1149] Introduced `quantum` job scheduler. Documentation & config changes.
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/config.md b/docs/config.md
index ae8afad89..81923c640 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -400,9 +400,9 @@ You can then do
curl "http://localhost:4000/api/pleroma/admin/invite_token?admin_token=somerandomtoken"
```
-## :pleroma_job_queue
+## Oban
-[Pleroma Job Queue](https://git.pleroma.social/pleroma/pleroma_job_queue) configuration: a list of queues with maximum concurrent jobs.
+[Oban](https://github.com/sorentwo/oban) asynchronous job processor configuration.
Pleroma has the following queues:
@@ -416,12 +416,15 @@ Pleroma has the following queues:
Example:
```elixir
-config :pleroma_job_queue, :queues,
- federator_incoming: 50,
- federator_outgoing: 50
+config :pleroma, Oban,
+ repo: Pleroma.Repo,
+ 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`.
+This config contains two queues: `federator_incoming` and `federator_outgoing`. Both have the number of max concurrent jobs set to `50`.
## Pleroma.Web.Metadata
* `providers`: a list of metadata providers to enable. Providers available: