Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#927 Redis clustering, adding connection po…
Browse files Browse the repository at this point in the history
…ol class
  • Loading branch information
rkorytkowski committed Jul 28, 2023
1 parent b678272 commit 1258e41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@
REDIS_SENTINELS_LIST.append((SENTINEL[0], int(SENTINEL[1])))
OPTIONS.update({
'CLIENT_CLASS': 'django_redis.client.SentinelClient',
'SENTINELS': REDIS_SENTINELS_LIST
'SENTINELS': REDIS_SENTINELS_LIST,
'CONNECTION_POOL_CLASS': 'redis.sentinel.SentinelConnectionPool',
})

CACHES = {
Expand Down

0 comments on commit 1258e41

Please sign in to comment.