gun ConnectionPool: Re-add a missing cast for remove_client

This commit is contained in:
rinpatch 2020-07-28 23:48:41 +03:00
commit dab1d8c98e
2 changed files with 12 additions and 4 deletions

View file

@ -45,7 +45,7 @@ defmodule Pleroma.Gun.ConnectionPool do
# so instead we use cast + monitor
ref = Process.monitor(worker_pid)
if register, do: GenServer.cast(worker_pid, {:add_client, self(), true})
if register, do: GenServer.cast(worker_pid, {:add_client, self()})
receive do
{:conn_pid, pid} ->