From f086b9cae61af18ca74ae607e6ae88da2bbb404b Mon Sep 17 00:00:00 2001 From: Raphael Telatim Date: Fri, 12 Aug 2022 15:28:12 -0300 Subject: [PATCH 1/2] remove IO.inspect/2 --- lib/subscribex/broker.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/subscribex/broker.ex b/lib/subscribex/broker.ex index 8c6ba5f..7d7eb3d 100644 --- a/lib/subscribex/broker.ex +++ b/lib/subscribex/broker.ex @@ -205,7 +205,7 @@ defmodule Subscribex.Broker do def do_channel(nil, link, module) do Logger.warn("Subscriber application not started, trying reconnect...") - IO.inspect(module, label: "doing channel for module") + Logger.debug("doing channel for module #{inspect(module)}") interval = apply(module, :config, [:reconnect_interval, :timer.seconds(30)]) :timer.sleep(interval) @@ -214,7 +214,7 @@ defmodule Subscribex.Broker do end def do_channel(connection_pid, link, module) when is_pid(connection_pid) do - IO.inspect(module, label: "doing channel for module") + Logger.debug("doing channel for module #{inspect(module)}") connection = %AMQP.Connection{pid: connection_pid} Logger.debug("Attempting to create channel") From c6899984c0734a1236b72634c3081c3736d886ea Mon Sep 17 00:00:00 2001 From: Raphael Telatim Date: Fri, 12 Aug 2022 15:28:28 -0300 Subject: [PATCH 2/2] change version --- README.md | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b614309..38d31c3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ```elixir def deps do - [{:subscribex, "~> 0.8"}] + [{:subscribex, "~> 0.9.1"}] end ``` diff --git a/mix.exs b/mix.exs index a78d2c3..62ef4b9 100644 --- a/mix.exs +++ b/mix.exs @@ -3,7 +3,7 @@ defmodule Subscribex.Mixfile do def project do [app: :subscribex, - version: "0.9.0", + version: "0.9.1", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod,