Skip to content

Commit 7cd4ea4

Browse files
Updated cache configuration to utilize hiredis
1 parent 0ee271f commit 7cd4ea4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/contestsuite/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def get_secret(key, default=None):
150150
'default': {
151151
'BACKEND': 'django.core.cache.backends.redis.RedisCache',
152152
'LOCATION': get_secret('CACHE_LOCATION', 'redis://redis:6379/0'),
153+
'OPTIONS': {
154+
"PARSER_CLASS": "redis.connection.HiredisParser",
155+
}
153156
}
154157
}
155158

0 commit comments

Comments
 (0)