mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 05:20:24 +01:00
fix: remove hardcoded name for sentinel, #13794
This commit is contained in:
@@ -22,7 +22,6 @@ connection.connect = async function (options) {
|
||||
const sentinelRootNodes = options.sentinels.map(sentinel => ({ host: sentinel.host, port: sentinel.port }));
|
||||
cxn = createSentinel({
|
||||
...options.options,
|
||||
name: 'sentinel-db',
|
||||
sentinelRootNodes,
|
||||
});
|
||||
} else if (redis_socket_or_host && String(redis_socket_or_host).indexOf('/') >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user