geo/backend/app/agent_framework
chiguyong 6b90fb5cd6 refactor: unify Redis connection pool across all modules
- Create app/core/redis.py with global get_redis() singleton
- Replace 4 independent Redis connections:
  - cache.py: use get_redis() instead of own aioredis.from_url
  - dispatcher.py: use get_redis() instead of own connection
  - health_checker.py: use get_redis() instead of per-check connection
  - rate_limit.py: RedisRateLimitBackend uses get_redis() instead of own connection
- Replace main.py readiness endpoint to use get_redis()
- Add close_redis() in FastAPI lifespan shutdown
- Remove unused aioredis imports from health_checker.py and main.py
2026-06-04 14:21:14 +08:00
..
agents fix: add missing Agent exports in __init__.py 2026-06-04 14:03:47 +08:00
pipeline fix: 审计问题修复第二轮 2026-05-26 07:34:07 +08:00
prompts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
__init__.py feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
base.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
config_manager.py fix: 审计问题修复第二轮 2026-05-26 07:34:07 +08:00
dispatcher.py refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
exceptions.py feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
protocol.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
registry.py feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
standalone.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00