Skip to content

Commit 8b317c8

Browse files
authored
Merge pull request #45 from NYU-RTS/django_q2_config
Update django-q2 config
2 parents 01a27eb + cd96f19 commit 8b317c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

coldfront/config/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,11 @@
9595
AUTHENTICATION_BACKENDS = []
9696

9797
#------------------------------------------------------------------------------
98-
# Django Q
98+
# Django Q2
9999
#------------------------------------------------------------------------------
100100
Q_CLUSTER = {
101+
'host': ENV.str('REDIS_HOSTNAME', default="localhost"),
102+
'password': ENV.str('REDIS_PASSWORD', default="password"),
101103
'timeout': ENV.int('Q_CLUSTER_TIMEOUT', default=120),
102104
'retry': ENV.int('Q_CLUSTER_RETRY', default=120),
103105
}

0 commit comments

Comments
 (0)