Migrate to Podman
This commit is contained in:
@@ -57,18 +57,20 @@ INSTALLED_APPS = [
|
||||
]
|
||||
|
||||
|
||||
# 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",
|
||||
},
|
||||
}
|
||||
}
|
||||
# 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
|
||||
|
||||
# CACHE_MIDDLEWARE_ALIAS = 'default'
|
||||
# CACHE_MIDDLEWARE_SECONDS = '600'
|
||||
# CACHE_MIDDLEWARE_KEY_PREFIX = ''
|
||||
|
||||
Reference in New Issue
Block a user