Skip to content

Commit 9ef2424

Browse files
committed
added the path to connection pool for easy access
1 parent d027c57 commit 9ef2424

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

django_valkey/client/sentinel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ def replace_query(url, query):
1111

1212

1313
class SentinelClient(DefaultClient):
14+
CONNECTION_FACTORY_PATH = "django_valkey.pool.SentinelConnectionFactory"
15+
1416
"""
1517
Sentinel client which uses the single valkey URL specified by the CACHE's
1618
LOCATION to create a LOCATION configuration for two connection pools; One

0 commit comments

Comments
 (0)