diff --git a/config/soapbox.exs b/config/soapbox.exs index 1504563698..f1b6ea44b5 100644 --- a/config/soapbox.exs +++ b/config/soapbox.exs @@ -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