Files
MemoryBear/api/app
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-01-12 15:59:10 +08:00
2026-02-28 18:58:33 +08:00
2026-02-09 21:02:41 +08:00
2026-01-26 11:53:34 +08:00
2026-01-20 10:36:30 +08:00
2025-12-24 20:35:04 +08:00