From: href Date: Fri, 30 Nov 2018 18:12:03 +0000 (+0100) Subject: Reverse proxy: default max read duration at 30 secs. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8e0e20631c378a5008f0f0b4aba9deb994ea6c6c;p=akkoma Reverse proxy: default max read duration at 30 secs. --- diff --git a/lib/pleroma/reverse_proxy.ex b/lib/pleroma/reverse_proxy.ex index dc1c50d07..ad9dc82fe 100644 --- a/lib/pleroma/reverse_proxy.ex +++ b/lib/pleroma/reverse_proxy.ex @@ -5,7 +5,7 @@ defmodule Pleroma.ReverseProxy do ~w(content-type content-disposition content-encoding content-range accept-ranges vary) @default_cache_control_header "public, max-age=1209600" @valid_resp_codes [200, 206, 304] - @max_read_duration :timer.minutes(2) + @max_read_duration :timer.seconds(30) @max_body_length :infinity @methods ~w(GET HEAD)