mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Don't include any database properties by default (#1134)
This commit is contained in:
parent
381922fc02
commit
486ddb3d42
@ -392,7 +392,7 @@ public final class ConfigKeys {
|
|||||||
int minIdle = c.getInt("data.pool-settings.minimum-idle", maxPoolSize);
|
int minIdle = c.getInt("data.pool-settings.minimum-idle", maxPoolSize);
|
||||||
int maxLifetime = c.getInt("data.pool-settings.maximum-lifetime", 1800000);
|
int maxLifetime = c.getInt("data.pool-settings.maximum-lifetime", 1800000);
|
||||||
int connectionTimeout = c.getInt("data.pool-settings.connection-timeout", 5000);
|
int connectionTimeout = c.getInt("data.pool-settings.connection-timeout", 5000);
|
||||||
Map<String, String> props = ImmutableMap.copyOf(c.getMap("data.pool-settings.properties", ImmutableMap.of("useUnicode", "true", "characterEncoding", "utf8")));
|
Map<String, String> props = ImmutableMap.copyOf(c.getMap("data.pool-settings.properties", ImmutableMap.of()));
|
||||||
|
|
||||||
return new StorageCredentials(
|
return new StorageCredentials(
|
||||||
c.getString("data.address", null),
|
c.getString("data.address", null),
|
||||||
|
Loading…
Reference in New Issue
Block a user