mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
fix: redis connect host/port
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user