Skip to content

Commit

Permalink
Used Django's builtin redis cache backend
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed Jun 26, 2024
1 parent 0b8ab99 commit 0d4414d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions djangoproject/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@
"OPTIONS": {"tcp_nodelay": True, "ketama": True},
},
"docs-pages": {
"BACKEND": "redis_cache.RedisCache",
"LOCATION": SECRETS.get("redis_host", "localhost:6379"),
"OPTIONS": {
"DB": 2,
},
"BACKEND": "django.core.cache.backends.redis.RedisCache",
"LOCATION": SECRETS.get("redis_host", "redis://localhost:6379/2"),
},
}

Expand Down
1 change: 0 additions & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-r common.txt
django-pylibmc==0.6.1
django-redis-cache==3.0.1
pylibmc==1.6.1
redis==3.5.3
sentry-sdk==1.44.1

0 comments on commit 0d4414d

Please sign in to comment.