Add HellthreadPolicy by default
This commit is contained in:
parent
d683d6d4f3
commit
94838fc10a
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
|
||||
|
||||
|
@ -26,3 +36,8 @@
|
|||
|
||||
# Allow privileged staff
|
||||
config :pleroma, :instance, privileged_staff: true
|
||||
|
||||
# Hellthread limits
|
||||
config :pleroma, :mrf_hellthread,
|
||||
delist_threshold: 15,
|
||||
reject_threshold: 100
|
||||
|
|
Loading…
Reference in a new issue