summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-02-11 16:53:21 -0500
committerMark Felder <feld@feld.me>2024-05-07 19:54:56 -0400
commitdf0734fcbf7adcd98e9bce38cc7aa18345aaf78d (patch)
tree048b44b9043923ac0483ef0e325f6a4565a72265 /config/config.exs
parentede414094f7b196d3ff129b8a23ba461ef80d29f (diff)
downloadpleroma-df0734fcbf7adcd98e9bce38cc7aa18345aaf78d.tar.gz
pleroma-df0734fcbf7adcd98e9bce38cc7aa18345aaf78d.zip
Increase the :max_body for Rich Media to 5MB
Websites are increasingly getting more bloated with tricks like inlining content (e.g., CNN.com) which puts pages at or above 5MB. This value may still be too low.
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index bf8671145..796e9073b 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -428,7 +428,8 @@ config :pleroma, :rich_media,
Pleroma.Web.RichMedia.Parsers.OEmbed
],
failure_backoff: 60_000,
- ttl_setters: [Pleroma.Web.RichMedia.Parser.TTL.AwsSignedUrl]
+ ttl_setters: [Pleroma.Web.RichMedia.Parser.TTL.AwsSignedUrl],
+ max_body: 5_000_000
config :pleroma, :media_proxy,
enabled: false,