Merge branch 'default-hellthread' into 'develop'
Add HellthreadPolicy by default See merge request soapbox-pub/soapbox!91
This commit is contained in:
commit
1abc29bf3a
1 changed files with 15 additions and 0 deletions
|
@ -17,6 +17,16 @@
|
|||
Pleroma.Upload.Filter.Exiftool
|
||||
]
|
||||
|
||||
# Default MRF policies
|
||||
config :pleroma, :mrf,
|
||||
policies: [
|
||||
Pleroma.Web.ActivityPub.MRF.SimplePolicy,
|
||||
Pleroma.Web.ActivityPub.MRF.HellthreadPolicy,
|
||||
Pleroma.Web.ActivityPub.MRF.ObjectAgePolicy,
|
||||
Pleroma.Web.ActivityPub.MRF.TagPolicy,
|
||||
Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy
|
||||
]
|
||||
|
||||
# Increase the pool size and timeout
|
||||
config :pleroma, :dangerzone, override_repo_pool_size: true
|
||||
|
||||
|
@ -27,5 +37,10 @@
|
|||
# Allow privileged staff
|
||||
config :pleroma, :instance, privileged_staff: true
|
||||
|
||||
# Hellthread limits
|
||||
config :pleroma, :mrf_hellthread,
|
||||
delist_threshold: 15,
|
||||
reject_threshold: 100
|
||||
|
||||
# Sane default media attachment limit
|
||||
config :pleroma, :instance, max_media_attachments: 20
|
||||
|
|
Loading…
Reference in a new issue