Undo Podman changes

This commit is contained in:
2023-07-29 16:28:12 +00:00
parent 8ef39ffe48
commit 9474a516ac
7 changed files with 78 additions and 82 deletions

View File

@@ -57,20 +57,18 @@ INSTALLED_APPS = [
]
# Performance optimisations # COMMENTED DUE TO PODMAN ISSUE
# CACHES = {
# "default": {
# "BACKEND": "django.core.cache.backends.redis.RedisCache",
# "LOCATION": "unix:///var/run/socks/redis.sock",
# "OPTIONS": {
# "db": "10",
# "parser_class": "redis.connection.HiredisParser",
# "pool_class": "redis.BlockingConnectionPool",
# },
# }
# }
# END PODMAN ISSUE
# Performance optimisations
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.redis.RedisCache",
"LOCATION": "unix:///var/run/socks/redis.sock",
"OPTIONS": {
"db": "10",
"parser_class": "redis.connection.HiredisParser",
"pool_class": "redis.BlockingConnectionPool",
},
}
}
# CACHE_MIDDLEWARE_ALIAS = 'default'
# CACHE_MIDDLEWARE_SECONDS = '600'
# CACHE_MIDDLEWARE_KEY_PREFIX = ''