diff options
author | href <href@random.sh> | 2018-11-30 19:12:03 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-11-30 19:12:03 +0100 |
commit | 8e0e20631c378a5008f0f0b4aba9deb994ea6c6c (patch) | |
tree | 67dfe67548156e5806a6fc12bc85b80f97a46167 /lib | |
parent | 7282937f337157543c65b7964bfd2a0b34aa0b0c (diff) | |
download | pleroma-8e0e20631c378a5008f0f0b4aba9deb994ea6c6c.tar.gz |
Reverse proxy: default max read duration at 30 secs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/reverse_proxy.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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) |