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
|
@ -15,7 +15,7 @@ REDIS = {
|
|||
'HOST': 'localhost',
|
||||
'PORT': 6379,
|
||||
'PASSWORD': '',
|
||||
'DATABASE': 0,
|
||||
'DATABASE': ${repo.libs.defaults.redis_databases['netbox'][0]},
|
||||
'DEFAULT_TIMEOUT': 300,
|
||||
'SSL': False,
|
||||
},
|
||||
|
@ -23,7 +23,7 @@ REDIS = {
|
|||
'HOST': 'localhost',
|
||||
'PORT': 6379,
|
||||
'PASSWORD': '',
|
||||
'DATABASE': 1,
|
||||
'DATABASE': ${repo.libs.defaults.redis_databases['netbox'][1]},
|
||||
'DEFAULT_TIMEOUT': 300,
|
||||
'SSL': False,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue