get redis database mapping from libs.defaults
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-12-23 07:19:37 +01:00
parent b6b5beaa27
commit d288923969
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 14 additions and 10 deletions

View file

@ -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,
}