update new way
This commit is contained in:
@@ -18,6 +18,7 @@ export const redis = new Redis({
|
||||
maxRetriesPerRequest: null, // 允许请求重试的次数 (如果需要无限次重试)
|
||||
...config.redis,
|
||||
});
|
||||
console.log('redis', config.redis);
|
||||
|
||||
// 监听连接事件
|
||||
redis.on('connect', () => {
|
||||
|
||||
Reference in New Issue
Block a user