poolboy timeout fix
This commit is contained in:
parent
7c0ed9302c
commit
6ebf389d6e
|
@ -102,8 +102,8 @@ def request(%Client{} = client, request, %{pool: pool, timeout: timeout}) do
|
||||||
try do
|
try do
|
||||||
:poolboy.transaction(
|
:poolboy.transaction(
|
||||||
pool,
|
pool,
|
||||||
&Pleroma.Pool.Request.execute(&1, client, request, timeout + 500),
|
&Pleroma.Pool.Request.execute(&1, client, request, timeout),
|
||||||
timeout + 1_000
|
timeout
|
||||||
)
|
)
|
||||||
rescue
|
rescue
|
||||||
e ->
|
e ->
|
||||||
|
|
Loading…
Reference in a new issue