From: Alexander Strizhakov Date: Fri, 21 Feb 2020 13:56:55 +0000 (+0300) Subject: fix for timeout clause X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d44f9e3b6cfd5a0dae07f6194bfd05360afd6560;p=akkoma fix for timeout clause --- diff --git a/lib/pleroma/http/adapter/gun.ex b/lib/pleroma/http/adapter/gun.ex index 0a6872ad6..7b7e38d8c 100644 --- a/lib/pleroma/http/adapter/gun.ex +++ b/lib/pleroma/http/adapter/gun.ex @@ -117,7 +117,7 @@ defmodule Pleroma.HTTP.Adapter.Gun do opts catch :exit, {:timeout, {_, operation, [_, {method, _}, _]}} -> - messages_len = + {:message_queue_len, messages_len} = :gun_connections |> Process.whereis() |> Process.info(:message_queue_len)