Skip to content

Commit

Permalink
IDPF-271 Re-enable Redis (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
0RWilliams authored Feb 4, 2025
1 parent c177ca2 commit e56c663
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@
IDENTITY_REDIS_URL = IDENTITY_REDIS

# Disabled as Ninja calls shouldn't be cached.
# CACHES: dict[str, Any] = {
# "default": {
# "BACKEND": "django.core.cache.backends.redis.RedisCache",
# "LOCATION": IDENTITY_REDIS_URL,
# "KEY_PREFIX": "identity_",
# }
# }
CACHES: dict[str, Any] = {
"default": {
"BACKEND": "django.core.cache.backends.redis.RedisCache",
"LOCATION": IDENTITY_REDIS_URL,
"KEY_PREFIX": "identity_",
}
}

# Internationalization
# https://docs.djangoproject.com/en/5.1/topics/i18n/
Expand Down

0 comments on commit e56c663

Please sign in to comment.