Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sergionoviello committed May 24, 2024
1 parent 8e9c759 commit ad4da46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions configurator.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
/* eslint-disable node/no-deprecated-api */

// Minimal radar settings

const logging = require('minilog')('client')

const defaultSettings = [
{
name: 'port',
Expand Down Expand Up @@ -168,9 +171,9 @@ Configurator.prototype._forPersistence = function (configuration) {
} else { // Using standalone redis
connection = parseUrl(configuration.redisUrl)
}
const logging = require('minilog')('client')

logging.info('redisReplicaUrl: ', configuration.redisReplicaUrl)
connection.redisReplicaUrl = parseUrl(configuration.redisReplicaUrl)
connection.redisReplicaUrl = {} //parseUrl(configuration.redisReplicaUrl)
} else {
if (configuration.sentinelMasterName) {
if (!configuration.sentinelUrls) {
Expand Down

0 comments on commit ad4da46

Please sign in to comment.