Don't include any database properties by default (#1134)

This commit is contained in:
Luck 2018-08-05 21:59:48 +01:00
parent 381922fc02
commit 486ddb3d42
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -392,7 +392,7 @@ public final class ConfigKeys {
int minIdle = c.getInt("data.pool-settings.minimum-idle", maxPoolSize);
int maxLifetime = c.getInt("data.pool-settings.maximum-lifetime", 1800000);
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(
c.getString("data.address", null),