fix typo
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
parent
6bada6660a
commit
85fbb0af70
@ -62,7 +62,7 @@ REDIS = {
|
|||||||
'webhooks': { # legacy setting, can be removed after Netbox seizes support for it
|
'webhooks': { # legacy setting, can be removed after Netbox seizes support for it
|
||||||
'HOST': os.environ.get('REDIS_HOST', 'localhost'),
|
'HOST': os.environ.get('REDIS_HOST', 'localhost'),
|
||||||
'PORT': int(os.environ.get('REDIS_PORT', 6379)),
|
'PORT': int(os.environ.get('REDIS_PORT', 6379)),
|
||||||
'PASSWORD': read_secret('redis_password', os.environ.get('REDIS_PASSWORD', '')),
|
'PASSWORD': read_secret('redis_password', os.environ.get('REDIS_PASSWORD', '')),
|
||||||
'DATABASE': int(os.environ.get('REDIS_DATABASE', 0)),
|
'DATABASE': int(os.environ.get('REDIS_DATABASE', 0)),
|
||||||
'DEFAULT_TIMEOUT': int(os.environ.get('REDIS_TIMEOUT', 300)),
|
'DEFAULT_TIMEOUT': int(os.environ.get('REDIS_TIMEOUT', 300)),
|
||||||
'SSL': os.environ.get('REDIS_SSL', 'False').lower() == 'true',
|
'SSL': os.environ.get('REDIS_SSL', 'False').lower() == 'true',
|
||||||
|
Loading…
Reference in New Issue
Block a user