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
cxn = createClient({
...options.options,
host: redis_socket_or_host,
port: options.port,
password: options.password,
database: options.database,
socket: {
host: redis_socket_or_host,
port: options.port,
reconnectStrategy: 3000,
},
});