From 8e5c72c1f9c7b3982842469ad475ca0cdc85e664 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Fri, 17 Nov 2023 15:35:12 -0500 Subject: [PATCH] chore: handle comments --- eventtracking/backends/event_bus.py | 2 +- eventtracking/config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eventtracking/backends/event_bus.py b/eventtracking/backends/event_bus.py index ca42988..d20a158 100644 --- a/eventtracking/backends/event_bus.py +++ b/eventtracking/backends/event_bus.py @@ -43,7 +43,7 @@ def send(self, event): metadata = TRACKING_EVENT_EMITTED.generate_signal_metadata() - logger.info(f"Sending tracking lof {tracking_log.name} to the event bus.") + logger.info(f"Emitting tracking log {tracking_log.name} to the event bus.") get_producer().send( signal=TRACKING_EVENT_EMITTED, topic="analytics", diff --git a/eventtracking/config.py b/eventtracking/config.py index 98ca0a0..48f3743 100644 --- a/eventtracking/config.py +++ b/eventtracking/config.py @@ -1,6 +1,6 @@ """ This module contains various configuration settings via -waffle switches for the Certificates app. +waffle switches for the event-tracking app. """ from edx_toggles.toggles import SettingToggle @@ -14,6 +14,6 @@ # .. toggle_creation_date: 2023-10-26 SEND_TRACKING_EVENT_EMITTED_SIGNAL = SettingToggle( 'SEND_TRACKING_EVENT_EMITTED_SIGNAL', - default=True, + default=False, module_name=__name__ )