aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-06 14:34:37 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-06 14:34:37 +0300
commitff6433f6410f1669e74dcb933250e543f8223cd7 (patch)
treeb14075e68936bcc2bd5d12353e03d88ae3252b1e
parent83bc616db700406c8254ae036ef5f41796e80a79 (diff)
downloadServo-ff6433f6410f1669e74dcb933250e543f8223cd7.tar.gz
Servo-ff6433f6410f1669e74dcb933250e543f8223cd7.tar.bz2
Servo-ff6433f6410f1669e74dcb933250e543f8223cd7.zip
Migrate Celery to RQ
-rw-r--r--settings.py9
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'
}