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
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ defp try_to_get_conn(uri, opts) do
opts
catch
:exit, {:timeout, {_, operation, [_, {method, _}, _]}} ->
messages_len =
{:message_queue_len, messages_len} =
:gun_connections
|> Process.whereis()
|> Process.info(:message_queue_len)