mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +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
|
// 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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user