refactor: Bump redis from 4.7.0 to 5.10.0 (#9994)

This commit is contained in:
dependabot[bot]
2026-01-17 22:09:44 +01:00
committed by GitHub
parent 82e0d3ace1
commit ba3e7602e6
6 changed files with 77 additions and 97 deletions

View File

@@ -2,7 +2,6 @@ import { createClient } from 'redis';
import { logger } from '../../logger';
function createPublisher({ redisURL, redisOptions = {} }): any {
redisOptions.no_ready_check = true;
const client = createClient({ url: redisURL, ...redisOptions });
client.on('error', err => { logger.error('RedisPubSub Publisher client error', { error: err }) });
client.on('connect', () => {});
@@ -12,7 +11,6 @@ function createPublisher({ redisURL, redisOptions = {} }): any {
}
function createSubscriber({ redisURL, redisOptions = {} }): any {
redisOptions.no_ready_check = true;
const client = createClient({ url: redisURL, ...redisOptions });
client.on('error', err => { logger.error('RedisPubSub Subscriber client error', { error: err }) });
client.on('connect', () => {});