[horizon] change cache to DummyCache

horizon-k8s charms doesnot support memcache or
redis relations yet. Use Dummycache to avoid
using default PyMemcache backend

Change-Id: I3aefab5173cef0ba980cd3e18df3802036f54f8f
This commit is contained in:
Hemanth Nakkina 2024-04-20 16:55:58 +05:30
parent 2c8dc69b96
commit 9000a0626b
No known key found for this signature in database
GPG Key ID: 2E4970F7B143168E

View File

@ -147,8 +147,7 @@ SECRET_KEY = "{{ options.secret }}"
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211',
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
},
}
{% if database.database_host -%}