poolboy timeout fix
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 13:51:49 +0000 (16:51 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Tue, 3 Mar 2020 13:51:49 +0000 (16:51 +0300)
lib/pleroma/http/http.ex

index f7b0095d711dd8e7ea3321a8e7bf9c94efcd6fed..4b774472e79308b4c0f770eff7b6ba972c4d4024 100644 (file)
@@ -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 ->