Change Redis parser class
This commit is contained in:
parent
4802c5a5be
commit
e90c89dcf1
|
@ -60,11 +60,11 @@ INSTALLED_APPS = [
|
||||||
# Performance optimisations
|
# Performance optimisations
|
||||||
CACHES = {
|
CACHES = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "django.core.cache.backends.redis.RedisCache",
|
"BACKEND": "django_redis.cache.RedisCache",
|
||||||
"LOCATION": "unix:///var/run/socks/redis.sock",
|
"LOCATION": "unix:///var/run/socks/redis.sock",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"db": "10",
|
"db": "10",
|
||||||
"parser_class": "redis.connection.HiredisParser",
|
# "parser_class": "django_redis.cache.RedisCache",
|
||||||
"pool_class": "redis.BlockingConnectionPool",
|
"pool_class": "redis.BlockingConnectionPool",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,7 @@ git+https://git.zm.is/XF/django-crud-mixins
|
||||||
redis
|
redis
|
||||||
hiredis
|
hiredis
|
||||||
django-cachalot
|
django-cachalot
|
||||||
|
django_redis
|
||||||
PyOTP
|
PyOTP
|
||||||
aiocoingecko
|
aiocoingecko
|
||||||
requests
|
requests
|
||||||
|
|
Loading…
Reference in New Issue