mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00

* 🔧 Overhauled caching feature:
- Refactored caching logic.
- Fixed redis prefix, namespace, tls, ttl, and cluster.
- Added REDIS_KEY_PREFIX_VAR
* # refactor: Rename redisCache to standardCache
* # Add Redis pinging mechanism to maintain connection.
* # docs: Add warning about Keyv Redis client prefix support
27 lines
No EOL
436 B
Text
27 lines
No EOL
436 B
Text
# Redis Cluster Node 1 Configuration
|
|
port 7001
|
|
cluster-enabled yes
|
|
cluster-config-file nodes-7001.conf
|
|
cluster-node-timeout 15000
|
|
appendonly yes
|
|
appendfilename "appendonly-7001.aof"
|
|
|
|
# Data directory
|
|
dir ./data/7001
|
|
|
|
# Logging
|
|
# logfile ./logs/redis-7001.log
|
|
loglevel notice
|
|
|
|
# Network
|
|
bind 127.0.0.1
|
|
protected-mode no
|
|
|
|
# Memory management
|
|
maxmemory 256mb
|
|
maxmemory-policy allkeys-lru
|
|
|
|
# Persistence
|
|
save 900 1
|
|
save 300 10
|
|
save 60 10000 |