Replace Pleroma.Jobs with pleroma_job_queue
This commit is contained in:
parent
749d53e2b2
commit
9a39d1d846
11 changed files with 24 additions and 283 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue