geo/backend/app
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
..
agent_framework refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
api feat: tag validation logic + pytest-cov auto coverage 2026-06-04 14:06:00 +08:00
core refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
middleware refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
models fix: add DateTime(timezone=True) to analytics.py (4 columns), update migration and port config 2026-06-01 21:26:39 +08:00
repositories feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
schemas feat: tag validation logic + pytest-cov auto coverage 2026-06-04 14:06:00 +08:00
services refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
templates feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
utils feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
workers feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
__init__.py feat: GEO平台MVP完整实现 2026-04-23 14:46:43 +08:00
config.py feat: Sentry integration + rate limiter dual backend 2026-06-04 14:04:36 +08:00
database.py fix: 修复数据库schema兼容性和E2E测试 2026-05-27 20:57:49 +08:00
logging_config.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
main.py refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00