From 1352465ad1965b635c41bb73934224193d695765 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Sat, 21 Aug 2021 17:09:31 +0700 Subject: [PATCH] Fixed SENTINEL docs --- rq/cli/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/cli/helpers.py b/rq/cli/helpers.py index ca585f7..e3564dc 100644 --- a/rq/cli/helpers.py +++ b/rq/cli/helpers.py @@ -40,7 +40,7 @@ def get_redis_from_config(settings, connection_class=Redis): """Returns a StrictRedis instance from a dictionary of settings. To use redis sentinel, you must specify a dictionary in the configuration file. Example of a dictionary with keys without values: - SENTINEL: {'INSTANCES':, 'SOCKET_TIMEOUT':, 'PASSWORD':,'DB':, 'MASTER_NAME':} + SENTINEL = {'INSTANCES':, 'SOCKET_TIMEOUT':, 'PASSWORD':,'DB':, 'MASTER_NAME':} """ if settings.get('REDIS_URL') is not None: return connection_class.from_url(settings['REDIS_URL'])