mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +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 2 Configuration
|
|
port 7002
|
|
cluster-enabled yes
|
|
cluster-config-file nodes-7002.conf
|
|
cluster-node-timeout 15000
|
|
appendonly yes
|
|
appendfilename "appendonly-7002.aof"
|
|
|
|
# Data directory
|
|
dir ./data/7002
|
|
|
|
# Logging
|
|
# logfile ./logs/redis-7002.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 |