get redis database mapping from libs.defaults
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
b6b5beaa27
commit
d288923969
5 changed files with 14 additions and 10 deletions
|
@ -25,10 +25,10 @@ ssl = False
|
|||
|
||||
% if node.has_bundle('redis'):
|
||||
[celery]
|
||||
backend = redis://127.0.0.1/1
|
||||
broker = redis://127.0.0.1/2
|
||||
backend = redis://127.0.0.1/${repo.libs.defaults.redis_databases['pretalx'][0]}
|
||||
broker = redis://127.0.0.1/${repo.libs.defaults.redis_databases['pretalx'][1]}
|
||||
|
||||
[redis]
|
||||
location = redis://@127.0.0.1:6379/3
|
||||
location = redis://@127.0.0.1:6379/${repo.libs.defaults.redis_databases['pretalx'][2]}
|
||||
session = True
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue