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
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ defmodule Pleroma.HTTP 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 ->