fix for timeout clause

This commit is contained in:
Alexander Strizhakov 2020-02-21 16:56:55 +03:00
parent f604f9e470
commit d44f9e3b6c
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -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)