Add option to override dbcp size

This commit is contained in:
Gabriele C
2016-10-22 00:46:28 +02:00
parent 627b9dd5c5
commit 1867617dbb
3 changed files with 12 additions and 1 deletions
@@ -98,6 +98,10 @@ public class DatabaseSettings implements SettingsHolder {
public static final Property<String> MYSQL_COL_GROUP =
newProperty("ExternalBoardOptions.mySQLColumnGroup", "");
@Comment("Overrides the size of the DB Connection Pool, -1 = Auto")
public static final Property<Integer> MYSQL_POOL_SIZE =
newProperty("DataSource.poolSize", -1);
private DatabaseSettings() {
}