Skip to content

Commit 24e9da5

Browse files
authored
Merge pull request #46 from NYU-RTS/django_q2_config_bugfix
bugfix django-q2 config
2 parents 8b317c8 + 1af5cc8 commit 24e9da5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

coldfront/config/base.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,12 @@
9898
# Django Q2
9999
#------------------------------------------------------------------------------
100100
Q_CLUSTER = {
101-
'host': ENV.str('REDIS_HOSTNAME', default="localhost"),
102-
'password': ENV.str('REDIS_PASSWORD', default="password"),
103101
'timeout': ENV.int('Q_CLUSTER_TIMEOUT', default=120),
104102
'retry': ENV.int('Q_CLUSTER_RETRY', default=120),
103+
'redis': {
104+
'host': ENV.str('REDIS_HOSTNAME', default="localhost"),
105+
'password': ENV.str('REDIS_PASSWORD', default="password"),
106+
},
105107
}
106108

107109

0 commit comments

Comments
 (0)