Skip to content

Commit

Permalink
Fix issue with multi-proxy redis on velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Mar 24, 2024
1 parent c86f07a commit c818007
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public int getRedisPort() {
public String getRedisUsername() {
return getString(getNode("Redis", "Username"), "");
}

public String getRedisPrefix() {
return getString(getNode("Redis", "Prefix"), "");
}
Expand Down Expand Up @@ -198,23 +198,23 @@ public List<String> getProxyServers() {
}

public boolean getMultiProxyRedisUseExistingConnection() {
return getBoolean(getNode("MultiProxyRedis.UseExistingConnection"), false);
return getBoolean(getNode("MultiProxyRedis", "UseExistingConnection"), false);
}

public String getMultiProxyRedisHost() {
return getString(getNode("MultiProxyRedis.Host"), "");
return getString(getNode("MultiProxyRedis", "Host"), "");
}

public int getMultiProxyRedisPort() {
return getInt(getNode("MultiProxyRedis.Port"), 6379);
return getInt(getNode("MultiProxyRedis", "Port"), 6379);
}

public String getMultiProxyRedisUsername() {
return getString(getNode("MultiProxyRedis.Username"), "");
return getString(getNode("MultiProxyRedis", "Username"), "");
}

public String getMultiProxyRedisPassword() {
return getString(getNode("MultiProxyRedis.Password"), "");
return getString(getNode("MultiProxyRedis", "Password"), "");
}

}

0 comments on commit c818007

Please sign in to comment.