revert
This commit is contained in:
@@ -130,14 +130,15 @@ else:
|
||||
# 配置缓存
|
||||
CACHES = PROD_CACHES
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [(os.getenv("REDIS_HOST"), 6379)],
|
||||
},
|
||||
},
|
||||
}
|
||||
# WebSocket 的缓存
|
||||
# CHANNEL_LAYERS = {
|
||||
# "default": {
|
||||
# "BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
# "CONFIG": {
|
||||
# "hosts": [(os.getenv("REDIS_HOST"), 6379)],
|
||||
# },
|
||||
# },
|
||||
# }
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators
|
||||
|
||||
Reference in New Issue
Block a user