mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:40:25 +00:00
feat: 添加 Redis TLS 支持
- 在 .env.example 中新增 REDIS_ENABLE_TLS 配置项 - 更新 config.example.js 以支持 TLS 连接 - 修改 RedisClient 类以根据配置启用或禁用 TLS
This commit is contained in:
@@ -28,7 +28,8 @@ const config = {
|
||||
commandTimeout: 5000,
|
||||
retryDelayOnFailover: 100,
|
||||
maxRetriesPerRequest: 3,
|
||||
lazyConnect: true
|
||||
lazyConnect: true,
|
||||
enableTLS: process.env.REDIS_ENABLE_TLS || false,
|
||||
},
|
||||
|
||||
// 🎯 Claude API配置
|
||||
|
||||
Reference in New Issue
Block a user