aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 56090a0..2999959 100644
--- a/settings.py
+++ b/settings.py
@@ -124,7 +124,7 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'rest_framework', 'wkhtmltopdf',
'rest_framework.authtoken',
- 'mptt', 'bootstrap3',
+ 'mptt', 'bootstrap3', 'django_rq',
'servo',
)
@@ -236,3 +236,12 @@ CACHES['comptia'] = {
'TIMEOUT': 60 * 60 * 24,
'KEY_PREFIX': 'comptia_'
}
+
+RQ_QUEUES = {
+ 'default': {
+ 'HOST': 'localhost',
+ 'PORT': 6379,
+ 'DB': 0,
+ 'DEFAULT_TIMEOUT': 3600, # 60 minutes
+ },
+}