fix: redis connect host/port

This commit is contained in:
Barış Soner Uşaklı
2025-07-20 11:57:34 -04:00
parent e365cd5606
commit eac3d0a043

View File

@@ -40,11 +40,11 @@ connection.connect = async function (options) {
// Else, connect over tcp/ip // Else, connect over tcp/ip
cxn = createClient({ cxn = createClient({
...options.options, ...options.options,
host: redis_socket_or_host,
port: options.port,
password: options.password, password: options.password,
database: options.database, database: options.database,
socket: { socket: {
host: redis_socket_or_host,
port: options.port,
reconnectStrategy: 3000, reconnectStrategy: 3000,
}, },
}); });