forked from platypush/platypush
Check first the configuration of the Redis plugin and then that of the backend.
This commit is contained in:
parent
315a89fb65
commit
3e3d47aa44
1 changed files with 2 additions and 2 deletions
|
@ -573,8 +573,8 @@ def get_redis(*args, **kwargs) -> Redis:
|
|||
|
||||
if not (args or kwargs):
|
||||
kwargs = (
|
||||
(Config.get('backend.redis') or {}).get('redis_args', {})
|
||||
or Config.get('redis')
|
||||
Config.get('redis')
|
||||
or (Config.get('backend.redis') or {}).get('redis_args', {})
|
||||
or {}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue