mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
* ✨ feat: Enhance Redis Config and Error Handling
- Added new Redis configuration options: `REDIS_RETRY_MAX_DELAY`, `REDIS_RETRY_MAX_ATTEMPTS`, `REDIS_CONNECT_TIMEOUT`, and `REDIS_ENABLE_OFFLINE_QUEUE` to improve connection resilience.
- Implemented error handling for Redis cache creation and session store initialization in `cacheFactory.js`.
- Enhanced logging for Redis client events and errors in `redisClients.js`.
- Updated `README.md` to document new Redis configuration options.
* chore: Add JSDoc comments to Redis configuration options in cacheConfig.js for improved clarity and documentation
* ci: update cacheFactory tests
* refactor: remove fallback
* fix: Improve error handling in Redis cache creation, re-throw errors when expected
|
||
|---|---|---|
| .. | ||
| banViolation.js | ||
| banViolation.spec.js | ||
| cacheConfig.js | ||
| cacheConfig.spec.js | ||
| cacheFactory.js | ||
| cacheFactory.spec.js | ||
| clearPendingReq.js | ||
| getLogStores.js | ||
| index.js | ||
| keyvFiles.js | ||
| keyvMongo.js | ||
| logViolation.js | ||
| redisClients.js | ||