geo/backend/app/services
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
..
advisor feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
ai_engine feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
alert feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
analysis feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
analytics feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
attribution feat: payment SDK integration, attribution window config, E2E tests, CI integration, rules center tests 2026-06-02 21:50:26 +08:00
citation feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
competitor feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
content feat: payment SDK integration, attribution window config, E2E tests, CI integration, rules center tests 2026-06-02 21:50:26 +08:00
detection feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
diagnosis feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
distribution feat: tag validation logic + pytest-cov auto coverage 2026-06-04 14:06:00 +08:00
email feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
knowledge feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
llm feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
monitoring feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
payment feat: payment SDK integration, attribution window config, E2E tests, CI integration, rules center tests 2026-06-02 21:50:26 +08:00
schema feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
scoring feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
strategy feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
trend 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
admin.py feat: 完成系统真实化改造 + Mock清除 + 文档编写 2026-05-23 21:35:10 +08:00
api_key_manager.py fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
app_state.py feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
auth.py chore: plan-003 收尾 — FK类型修复、User模型补全、迁移脚本清理、前端构建修复 2026-06-01 09:50:52 +08:00
cache.py refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
email_service.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
health_checker.py refactor: unify Redis connection pool across all modules 2026-06-04 14:21:14 +08:00
image_generator.py feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
key_encryption.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
key_verifier.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
query.py feat: GEO平台MVP完整实现 2026-04-23 14:46:43 +08:00
quota_service.py feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
subscription.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
usage_recorder.py feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
usage_tracker.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00
user_quota_service.py feat: API Key管理+用量追踪完整功能链路v2(真实可用) 2026-05-25 20:43:08 +08:00