update configuration.py for netbox 2.7.11 REDIS config

update configuration.py to use REDIS config referencing `tasks` in place of `webhooks`
This commit is contained in:
Ryan Merolle 2020-04-01 23:41:35 -04:00 committed by GitHub
parent 23e2da52f8
commit 64b763429f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY', read_secret('secret_key'))
# Redis database settings. The Redis database is used for caching and background processing such as webhooks
REDIS = {
'webhooks': {
'tasks': {
'HOST': os.environ.get('REDIS_HOST', 'localhost'),
'PORT': int(os.environ.get('REDIS_PORT', 6379)),
'PASSWORD': os.environ.get('REDIS_PASSWORD', read_secret('redis_password')),