From b6651d3cafc1b7079db67140bf1e3746e919c73b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Oct 2023 17:05:11 +0200 Subject: ✨ background task: set a low priority queue for imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example_project/settings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example_project/settings.py') diff --git a/example_project/settings.py b/example_project/settings.py index 3c0accc82..8e9077aad 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -410,6 +410,8 @@ if LOG_LEVEL: if logger.startswith("archaeological") or logger.startswith("ishtar"): LOGGING["loggers"][logger]["level"] = LOG_LEVEL +CELERY_DEFAULT_QUEUE = "celery" + if USE_BACKGROUND_TASK: if not CELERY_BROKER_URL: CELERY_BROKER_URL = "amqp://localhost" -- cgit v1.2.3