Reverse proxy: default max read duration at 30 secs.

This commit is contained in:
href 2018-11-30 19:12:03 +01:00
parent 7282937f33
commit 8e0e20631c
No known key found for this signature in database
GPG Key ID: EE8296C1A152C325
1 changed files with 1 additions and 1 deletions

View File

@ -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)