From cc6ae6ded4c61570297e5a2661d052dcc2a9524f Mon Sep 17 00:00:00 2001 From: Jan Timpe Date: Fri, 20 Dec 2024 16:18:06 -0500 Subject: [PATCH] move settings --- tdrs-backend/tdpservice/settings/common.py | 3 --- tdrs-backend/tdpservice/settings/local.py | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tdrs-backend/tdpservice/settings/common.py b/tdrs-backend/tdpservice/settings/common.py index 721ea1ce4..3216d366a 100644 --- a/tdrs-backend/tdpservice/settings/common.py +++ b/tdrs-backend/tdpservice/settings/common.py @@ -558,6 +558,3 @@ class Common(Configuration): BULK_CREATE_BATCH_SIZE = os.getenv("BULK_CREATE_BATCH_SIZE", 10000) MEDIAN_LINE_PARSE_TIME = os.getenv("MEDIAN_LINE_PARSE_TIME", 0.0005574226379394531) BYPASS_OFA_AUTH = os.getenv("BYPASS_OFA_AUTH", False) - - CELERY_WORKER_SEND_TASK_EVENTS = True - CELERY_TASK_SEND_SENT_EVENT = True diff --git a/tdrs-backend/tdpservice/settings/local.py b/tdrs-backend/tdpservice/settings/local.py index bffbddd66..dc584428e 100644 --- a/tdrs-backend/tdpservice/settings/local.py +++ b/tdrs-backend/tdpservice/settings/local.py @@ -71,3 +71,6 @@ class Local(Common): ], traces_sample_rate=1.0, ) + + CELERY_WORKER_SEND_TASK_EVENTS = True + CELERY_TASK_SEND_SENT_EVENT = True