Apply suggestion to lib/pleroma/pool/connections.ex

This commit is contained in:
Alexander Strizhakov 2020-03-03 09:29:51 +00:00
parent 4c8569d403
commit 097ad10d02
1 changed files with 1 additions and 1 deletions

View File

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