Skip to content
Snippets Groups Projects
Commit 2d410b9c authored by Robert Latta's avatar Robert Latta
Browse files

added db number for get_redis when using redis config

parent d4f8e6a6
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,7 @@ def _get_redis(config, dbid=None):
'password': config['redis'].get('password'),
'socket_timeout': config['redis'].get(
'socket_timeout', DEFAULT_REDIS_SENTINEL_TIMEOUT),
**kwargs
}
return redis.StrictRedis(
host=config['redis']['hostname'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment