mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
poolboy timeout fix
This commit is contained in:
parent
7c0ed9302c
commit
6ebf389d6e
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ defmodule Pleroma.HTTP 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 ->
|
||||
|
|
Loading…
Reference in a new issue