Files
MemoryBear/api/app/repositories
Ke Sun c8065b0c60 feat(implicit-emotions): add Redis resilience and connection pooling
- Replace single Redis client with connection pool for better concurrency and auto-reconnection
- Add graceful degradation when Redis is unavailable (None handling in get_users_needing_refresh)
- Add RedisError exception handling with fallback to process all users on mget failures
- Add type hints (Optional[redis.StrictRedis]) to Redis client parameters
- Add health check and socket timeout configuration to connection pool
- Add logging for Redis connection failures and degradation events
- Reorganize imports alphabetically for consistency across both files
- Update get_sync_redis_client to validate connection with ping() before returning
2026-03-09 14:12:53 +08:00
..
2026-02-10 13:46:09 +08:00
2025-12-15 20:50:15 +08:00
2026-01-23 10:50:24 +08:00
2025-12-15 14:09:43 +08:00
2026-02-04 12:21:38 +08:00
2026-01-23 10:50:24 +08:00