From cb2e865bc47c7ce730d11a07aedc893d94bd5aee Mon Sep 17 00:00:00 2001 From: Giorgio Azzinnaro Date: Thu, 16 Mar 2023 20:22:08 +0100 Subject: [PATCH] chore: remove debug logs --- CHANGELOG.md | 4 ++++ .../real_time_prices/subscriptions_manager.ex | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5905d0..3eda7cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## Fixed + +- Removed some unneeded logs. + ## [0.2.0] - 2023-03-16 ### Added diff --git a/lib/ex_twelve_data/real_time_prices/subscriptions_manager.ex b/lib/ex_twelve_data/real_time_prices/subscriptions_manager.ex index f541616..7385ab1 100644 --- a/lib/ex_twelve_data/real_time_prices/subscriptions_manager.ex +++ b/lib/ex_twelve_data/real_time_prices/subscriptions_manager.ex @@ -19,8 +19,6 @@ defmodule ExTwelveData.RealTimePrices.SubscriptionsManager do alias ExTwelveData.RealTimePrices.SubscriptionsManager alias ExTwelveData.RealTimePrices.SubscriptionsManager.QuotaTracker - require Logger - @type options :: [option] @type option :: @@ -72,9 +70,6 @@ defmodule ExTwelveData.RealTimePrices.SubscriptionsManager do new = provider.get_symbols() - Logger.warning(current) - Logger.warning(new) - new_state = case QuotaTracker.action(current, new, max_subscriptions) do :noop -> @@ -89,8 +84,6 @@ defmodule ExTwelveData.RealTimePrices.SubscriptionsManager do %{state | tracked: new_tracked} end - Logger.warning(new_state) - schedule_next_message() {:noreply, new_state} end