docs: 移动蓝绿部署指南到 troubleshooting 目录

This commit is contained in:
Simon
2026-07-05 17:03:36 +08:00
parent ab90db3d3d
commit ca7c6d937a
91 changed files with 4841 additions and 406 deletions
+4
View File
@@ -161,6 +161,10 @@ async def init_shared_services():
"""
global _redis_pool
_redis_pool = settings.create_redis_client()
# 注入 Redis 客户端到 cache_service(解决 WebSocket 认证时 redis=None 的问题)
from app.services.cache_service import cache_service
cache_service.redis = _redis_pool
logger.info("共享服务初始化完成")