mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 09:31:08 +00:00
Switch from django-redis to the built-in Redis cache backend
This commit is contained in:
parent
03ac846b5d
commit
2896219e88
2 changed files with 2 additions and 5 deletions
|
@ -257,11 +257,8 @@ if env.bool("USE_DUMMY_CACHE", False):
|
||||||
else:
|
else:
|
||||||
CACHES = {
|
CACHES = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "django_redis.cache.RedisCache",
|
"BACKEND": "django.core.cache.backends.redis.RedisCache",
|
||||||
"LOCATION": REDIS_ACTIVITY_URL,
|
"LOCATION": REDIS_ACTIVITY_URL,
|
||||||
"OPTIONS": {
|
|
||||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
"file_resubmit": {
|
"file_resubmit": {
|
||||||
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
|
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
|
||||||
|
|
|
@ -12,12 +12,12 @@ django-imagekit==5.0.0
|
||||||
django-model-utils==4.4.0
|
django-model-utils==4.4.0
|
||||||
django-oauth-toolkit==2.3.0
|
django-oauth-toolkit==2.3.0
|
||||||
django-pgtrigger==4.11.0
|
django-pgtrigger==4.11.0
|
||||||
django-redis==5.2.0
|
|
||||||
django-sass-processor==1.4
|
django-sass-processor==1.4
|
||||||
django-storages==1.14.2
|
django-storages==1.14.2
|
||||||
django-storages[azure]
|
django-storages[azure]
|
||||||
environs==11.0.0
|
environs==11.0.0
|
||||||
flower==2.0.1
|
flower==2.0.1
|
||||||
|
hiredis==2.3.2
|
||||||
libsass==0.23.0
|
libsass==0.23.0
|
||||||
Markdown==3.6
|
Markdown==3.6
|
||||||
opentelemetry-api==1.24.0
|
opentelemetry-api==1.24.0
|
||||||
|
|
Loading…
Reference in a new issue