Fix invalid types
This commit is contained in:
parent
83eece7764
commit
38d01ff511
1 changed files with 2 additions and 2 deletions
|
|
@ -81,9 +81,9 @@ defmodule Pleroma.ReverseProxy do
|
||||||
import Plug.Conn
|
import Plug.Conn
|
||||||
|
|
||||||
@type option() ::
|
@type option() ::
|
||||||
{:max_read_duration, :timer.time() | :infinity}
|
{:max_read_duration, non_neg_integer() | :infinity}
|
||||||
| {:max_body_length, non_neg_integer() | :infinity}
|
| {:max_body_length, non_neg_integer() | :infinity}
|
||||||
| {:failed_request_ttl, :timer.time() | :infinity}
|
| {:failed_request_ttl, non_neg_integer() | :infinity}
|
||||||
| {:http, []}
|
| {:http, []}
|
||||||
| {:req_headers, [{String.t(), String.t()}]}
|
| {:req_headers, [{String.t(), String.t()}]}
|
||||||
| {:resp_headers, [{String.t(), String.t()}]}
|
| {:resp_headers, [{String.t(), String.t()}]}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue