summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-21 16:56:55 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-21 16:56:55 +0300
commitd44f9e3b6cfd5a0dae07f6194bfd05360afd6560 (patch)
treeec22216483b7e0980d0814939fed0aa4cab72709
parentf604f9e47061b9d47c1bb62cc7aaf44fabdf69b3 (diff)
downloadpleroma-d44f9e3b6cfd5a0dae07f6194bfd05360afd6560.tar.gz
pleroma-d44f9e3b6cfd5a0dae07f6194bfd05360afd6560.zip
fix for timeout clause
-rw-r--r--lib/pleroma/http/adapter/gun.ex2
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)