1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

poolboy timeout fix

This commit is contained in:
Alexander Strizhakov 2020-03-03 16:51:49 +03:00
parent 7c0ed9302c
commit 6ebf389d6e
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -102,8 +102,8 @@ def request(%Client{} = client, request, %{pool: pool, timeout: timeout}) do
try do
:poolboy.transaction(
pool,
&Pleroma.Pool.Request.execute(&1, client, request, timeout + 500),
timeout + 1_000
&Pleroma.Pool.Request.execute(&1, client, request, timeout),
timeout
)
rescue
e ->