Use hiredis

This commit is contained in:
Andrew-Chen-Wang 2020-04-29 16:31:19 -04:00
parent e60084fee1
commit dfd1ee8bb2
2 changed files with 3 additions and 1 deletions

View File

@ -36,6 +36,7 @@ CACHES = {
# Mimicing memcache behavior. # Mimicing memcache behavior.
# http://jazzband.github.io/django-redis/latest/#_memcached_exceptions_behavior # http://jazzband.github.io/django-redis/latest/#_memcached_exceptions_behavior
"IGNORE_EXCEPTIONS": True, "IGNORE_EXCEPTIONS": True,
"PARSER_CLASS": "redis.connection.HiredisParser",
}, },
} }
} }

View File

@ -8,7 +8,8 @@ argon2-cffi==19.2.0 # https://github.com/hynek/argon2_cffi
{%- if cookiecutter.use_whitenoise == 'y' %} {%- if cookiecutter.use_whitenoise == 'y' %}
whitenoise==5.0.1 # https://github.com/evansd/whitenoise whitenoise==5.0.1 # https://github.com/evansd/whitenoise
{%- endif %} {%- endif %}
redis==3.4.1 # https://github.com/andymccurdy/redis-py redis==3.4.1 # https://github.com/andymccurdy/redis-py
hiredis==1.0.1 # https://github.com/redis/hiredis-py
{%- if cookiecutter.use_celery == "y" %} {%- if cookiecutter.use_celery == "y" %}
celery==4.4.2 # pyup: < 5.0 # https://github.com/celery/celery celery==4.4.2 # pyup: < 5.0 # https://github.com/celery/celery
django-celery-beat==2.0.0 # https://github.com/celery/django-celery-beat django-celery-beat==2.0.0 # https://github.com/celery/django-celery-beat