Add HellthreadPolicy by default

This commit is contained in:
Alex Gleason 2022-02-01 15:28:53 -06:00
parent d683d6d4f3
commit 94838fc10a
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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