diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-06-06 14:34:37 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-06-06 14:34:37 +0300 |
commit | ff6433f6410f1669e74dcb933250e543f8223cd7 (patch) | |
tree | b14075e68936bcc2bd5d12353e03d88ae3252b1e | |
parent | 83bc616db700406c8254ae036ef5f41796e80a79 (diff) | |
download | Servo-ff6433f6410f1669e74dcb933250e543f8223cd7.tar.gz Servo-ff6433f6410f1669e74dcb933250e543f8223cd7.tar.bz2 Servo-ff6433f6410f1669e74dcb933250e543f8223cd7.zip |
Migrate Celery to RQ
-rw-r--r-- | settings.py | 9 |
1 files changed, 1 insertions, 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' } |