From ff6433f6410f1669e74dcb933250e543f8223cd7 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 6 Jun 2021 14:34:37 +0300 Subject: Migrate Celery to RQ --- settings.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/settings.py b/settings.py index 2999959..d37b43e 100644 --- a/settings.py +++ b/settings.py @@ -3,7 +3,7 @@ import os import re import socket -from datetime import timedelta +from datetime import timedelta, datetime from django.contrib.messages import constants as messages DEBUG = True @@ -210,13 +210,6 @@ GSX_KEY = os.path.join(BASE_DIR, 'uploads/settings/gsx_key.pem') os.environ['GSX_CERT'] = GSX_CERT os.environ['GSX_KEY'] = GSX_KEY -CELERYBEAT_SCHEDULE = { - 'check_mail': { - 'task': 'servo.tasks.check_mail', - 'schedule': timedelta(seconds=300), - }, -} - WKHTMLTOPDF_ENV = { 'ignore_404': 'True' } -- cgit v1.2.3