From: Alexander Strizhakov Date: Tue, 3 Mar 2020 09:29:51 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/pool/connections.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=097ad10d02598fb6b77f305c10341a13fb57ceee;p=akkoma Apply suggestion to lib/pleroma/pool/connections.ex --- diff --git a/lib/pleroma/pool/connections.ex b/lib/pleroma/pool/connections.ex index a444f822f..c5098cd86 100644 --- a/lib/pleroma/pool/connections.ex +++ b/lib/pleroma/pool/connections.ex @@ -128,7 +128,7 @@ defmodule Pleroma.Pool.Connections do Logger.debug("checkin #{key}") case state.conns[key] do - %{conn: conn, gun_state: gun_state} = current_conn when gun_state == :up -> + %{conn: conn, gun_state: :up} = current_conn -> Logger.debug("reusing conn #{key}") with time <- :os.system_time(:second),