Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alex Gleason
pleroma
Commits
e127b9ab
Commit
e127b9ab
authored
5 years ago
by
Ivan Tashkinov
Browse files
Options
Downloads
Patches
Plain Diff
[
#1149
] Rewritten readme as config/description.exs.
parent
6bcedb69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/description.exs
+117
-63
117 additions, 63 deletions
config/description.exs
with
117 additions
and
63 deletions
config/description.exs
+
117
−
63
View file @
e127b9ab
...
...
@@ -1778,87 +1778,141 @@
group:
:pleroma_job_queue
,
key:
:queues
,
type:
:group
,
description:
"Pleroma Job Queue configuration: a list of queues with maximum concurrent jobs"
,
description:
"[Deprecated] Replaced with `Oban`/`:queues` (keeping the same format)"
,
children:
[]
},
%{
group:
:pleroma
,
key:
Pleroma
.
Web
.
Federator
.
RetryQueue
,
type:
:group
,
description:
"[Deprecated] See `Oban` and `:workers` sections for configuration notes"
,
children:
[
%{
key:
:federator_outgoing
,
type:
:integer
,
description:
"Outgoing federation queue"
,
suggestions:
[
50
]
},
%{
key:
:federator_incoming
,
type:
:integer
,
description:
"Incoming federation queue"
,
suggestions:
[
50
]
},
%{
key:
:mailer
,
type:
:integer
,
description:
"Email sender queue, see Pleroma.Emails.Mailer"
,
suggestions:
[
10
]
},
%{
key:
:web_push
,
key:
:max_retries
,
type:
:integer
,
description:
"Web push notifications queue"
,
suggestions:
[
50
]
},
description:
"[Deprecated] Replaced as `Oban`/`:queues`/`:outgoing_federation` value"
,
suggestions:
[]
}
]
},
%{
group:
:pleroma
,
key:
Oban
,
type:
:group
,
description:
"""
[Oban](https://github.com/sorentwo/oban) asynchronous job processor configuration.
Note: if you are running PostgreSQL in [`silent_mode`](https://postgresqlco.nf/en/doc/param/silent_mode?version=9.1),
it's advised to set [`log_destination`](https://postgresqlco.nf/en/doc/param/log_destination?version=9.1) to `syslog`,
otherwise `postmaster.log` file may grow because of "you don't own a lock of type ShareLock" warnings
(see https://github.com/sorentwo/oban/issues/52).
"""
,
children:
[
%{
key:
:
transmogrifier
,
type:
:
integer
,
description:
"
Transmogrifier queue
"
,
suggestions:
[
20
]
key:
:
repo
,
type:
:
module
,
description:
"
Application's Ecto repo
"
,
suggestions:
[
Pleroma
.
Repo
]
},
%{
key:
:
scheduled_activities
,
type:
:
integer
,
description:
"
Scheduled activities queue, see Pleroma.ScheduledActivities
"
,
suggestions:
[
10
]
key:
:
verbose
,
type:
:
boolean
,
description:
"
Logs verbose mode
"
,
suggestions:
[
false
,
true
]
},
%{
key:
:activity_expiration
,
type:
:integer
,
description:
"Activity expiration queue"
,
suggestions:
[
10
]
key:
:prune
,
type:
[
:atom
,
:tuple
],
description:
"Non-retryable jobs [pruning settings](https://github.com/sorentwo/oban#pruning)"
,
suggestions:
[
:disabled
,
{
:maxlen
,
1500
},
{
:maxage
,
60
*
60
}]
},
%{
key:
:background
,
type:
:integer
,
description:
"Background queue"
,
suggestions:
[
5
]
key:
:queues
,
type:
:keyword
,
description:
"Background jobs queues (keys: queues, values: max numbers of concurrent jobs)"
,
suggestions:
[
[
activity_expiration:
10
,
background:
5
,
federator_incoming:
50
,
federator_outgoing:
50
,
mailer:
10
,
scheduled_activities:
10
,
transmogrifier:
20
,
web_push:
50
]
],
children:
[
%{
key:
:activity_expiration
,
type:
:integer
,
description:
"Activity expiration queue"
,
suggestions:
[
10
]
},
%{
key:
:background
,
type:
:integer
,
description:
"Background queue"
,
suggestions:
[
5
]
},
%{
key:
:federator_incoming
,
type:
:integer
,
description:
"Incoming federation queue"
,
suggestions:
[
50
]
},
%{
key:
:federator_outgoing
,
type:
:integer
,
description:
"Outgoing federation queue"
,
suggestions:
[
50
]
},
%{
key:
:mailer
,
type:
:integer
,
description:
"Email sender queue, see Pleroma.Emails.Mailer"
,
suggestions:
[
10
]
},
%{
key:
:scheduled_activities
,
type:
:integer
,
description:
"Scheduled activities queue, see Pleroma.ScheduledActivities"
,
suggestions:
[
10
]
},
%{
key:
:transmogrifier
,
type:
:integer
,
description:
"Transmogrifier queue"
,
suggestions:
[
20
]
},
%{
key:
:web_push
,
type:
:integer
,
description:
"Web push notifications queue"
,
suggestions:
[
50
]
}
]
}
]
},
%{
group:
:pleroma
,
key:
Pleroma
.
Web
.
Federator
.
RetryQueue
,
key:
:workers
,
type:
:group
,
description:
""
,
description:
"
Includes custom worker options not interpretable directly by `Oban`
"
,
children:
[
%{
key:
:enabled
,
type:
:boolean
,
description:
"If set to true, failed federation jobs will be retried"
,
suggestions:
[
true
,
false
]
},
%{
key:
:max_jobs
,
type:
:integer
,
description:
"The maximum amount of parallel federation jobs running at the same time"
,
suggestions:
[
20
]
},
%{
key:
:initial_timeout
,
type:
:integer
,
description:
"The initial timeout in seconds"
,
suggestions:
[
30
]
},
%{
key:
:max_retries
,
type:
:integer
,
description:
"The maximum number of times a federation job is retried"
,
suggestions:
[
5
]
key:
:retries
,
type:
:keyword
,
description:
"Max retry attempts for failed jobs, per `Oban` queue"
,
suggestions:
[
[
federator_incoming:
5
,
federator_outgoing:
5
]
]
}
]
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment