2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-23 04:28:01 +00:00

change wrong default max connection from 8 to 10

This commit is contained in:
mohammed jasem alaajel 2022-07-22 17:08:51 +04:00
parent e4012a8d7b
commit dea384a203
2 changed files with 2 additions and 2 deletions

View File

@ -896,7 +896,7 @@ public class RedisBungeeBungeePlugin extends Plugin implements RedisBungeePlugin
final boolean registerLegacyCommands = node.getNode("register-legacy-commands").getBoolean(false); final boolean registerLegacyCommands = node.getNode("register-legacy-commands").getBoolean(false);
String redisPassword = node.getNode("redis-password").getString(null); String redisPassword = node.getNode("redis-password").getString(null);
String proxyId = node.getNode("proxy-id").getString("test-1"); String proxyId = node.getNode("proxy-id").getString("test-1");
final int maxConnections = node.getNode("max-redis-connections").getInt(8); final int maxConnections = node.getNode("max-redis-connections").getInt(10);
List<String> exemptAddresses; List<String> exemptAddresses;
try { try {
exemptAddresses = node.getNode("exempt-ip-addresses").getList(TypeToken.of(String.class)); exemptAddresses = node.getNode("exempt-ip-addresses").getList(TypeToken.of(String.class));

View File

@ -845,7 +845,7 @@ public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player> {
final boolean registerLegacyCommands = node.getNode("register-legacy-commands").getBoolean(false); final boolean registerLegacyCommands = node.getNode("register-legacy-commands").getBoolean(false);
String redisPassword = node.getNode("redis-password").getString(null); String redisPassword = node.getNode("redis-password").getString(null);
String proxyId = node.getNode("proxy-id").getString("test-1"); String proxyId = node.getNode("proxy-id").getString("test-1");
final int maxConnections = node.getNode("max-redis-connections").getInt(8); final int maxConnections = node.getNode("max-redis-connections").getInt(10);
List<String> exemptAddresses; List<String> exemptAddresses;
try { try {
exemptAddresses = node.getNode("exempt-ip-addresses").getList(TypeToken.of(String.class)); exemptAddresses = node.getNode("exempt-ip-addresses").getList(TypeToken.of(String.class));