We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc3db2d + 89b9c22 commit 5a4e9d7Copy full SHA for 5a4e9d7
1 file changed
configuration/configuration.py
@@ -48,7 +48,7 @@ def read_secret(secret_name):
48
# Redis database settings. The Redis database is used for caching and background processing such as webhooks
49
REDIS = {
50
'HOST': os.environ.get('REDIS_HOST', 'localhost'),
51
- 'PORT': os.environ.get('REDIS_PORT', 6379),
+ 'PORT': int(os.environ.get('REDIS_PORT', 6379)),
52
'PASSWORD': os.environ.get('REDIS_PASSWORD', read_secret('redis_password')),
53
'DATABASE': os.environ.get('REDIS_DATABASE', '0'),
54
'CACHE_DATABASE': os.environ.get('REDIS_CACHE_DATABASE', '1'),
0 commit comments