aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-14 20:48:44 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-14 20:48:44 +0300
commitd988adbdaf57bb5e82823a416f92fa6995d59589 (patch)
treeb3d1ac0cffac122aacbad907bd8f6ec087d1116d
parent02a219db25034d839b55a0aa456e4b70ae2f32ec (diff)
downloadServo-d988adbdaf57bb5e82823a416f92fa6995d59589.tar.gz
Servo-d988adbdaf57bb5e82823a416f92fa6995d59589.tar.bz2
Servo-d988adbdaf57bb5e82823a416f92fa6995d59589.zip
Move RQ_QUEUES to local_settings
-rw-r--r--settings.py19
1 files changed, 5 insertions, 14 deletions
diff --git a/settings.py b/settings.py
index b83cb78..9b25c34 100644
--- a/settings.py
+++ b/settings.py
@@ -221,20 +221,11 @@ WKHTMLTOPDF_CMD_OPTIONS = {
'page-size': 'a4'
}
+from local_settings import *
+
CACHES['comptia'] = {
- 'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
- 'LOCATION': '127.0.0.1:11211',
- 'TIMEOUT': 60 * 60 * 24,
+ 'BACKEND': CACHES['default']['BACKEND'],
+ 'LOCATION': CACHES['default']['LOCATION'],
+ 'TIMEOUT': 60*60*24,
'KEY_PREFIX': 'comptia_'
}
-
-RQ_QUEUES = {
- 'default': {
- 'HOST': 'localhost',
- 'PORT': 6379,
- 'DB': 0,
- 'DEFAULT_TIMEOUT': 3600, # 60 minutes
- },
-}
-
-from local_settings import *