[#2497] Media preview proxy: added `quality` config setting, adjusted width/height...
[akkoma] / config / config.exs
index 029f8ec204af6e556822e8233ad56dd6dc214157..b399ce6d7c5f19ad65cfecdbac8054e72f965c24 100644 (file)
@@ -441,11 +441,11 @@ config :pleroma, Pleroma.Web.MediaProxy.Invalidation.Script, script_path: nil
 # Note: media preview proxy depends on media proxy to be enabled
 config :pleroma, :media_preview_proxy,
   enabled: false,
-  thumbnail_max_width: 400,
-  thumbnail_max_height: 200,
+  thumbnail_max_width: 600,
+  thumbnail_max_height: 600,
+  quality: 2,
   proxy_opts: [
-    head_request_max_read_duration: 5_000,
-    max_read_duration: 10_000
+    head_request_max_read_duration: 5_000
   ]
 
 config :pleroma, :chat, enabled: true