diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-21 16:56:55 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-21 16:56:55 +0300 |
commit | d44f9e3b6cfd5a0dae07f6194bfd05360afd6560 (patch) | |
tree | ec22216483b7e0980d0814939fed0aa4cab72709 | |
parent | f604f9e47061b9d47c1bb62cc7aaf44fabdf69b3 (diff) | |
download | pleroma-d44f9e3b6cfd5a0dae07f6194bfd05360afd6560.tar.gz pleroma-d44f9e3b6cfd5a0dae07f6194bfd05360afd6560.zip |
fix for timeout clause
-rw-r--r-- | lib/pleroma/http/adapter/gun.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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) |