Fixed boot issue with database mode.
This commit is contained in:
parent
4e7af3cb02
commit
864e6ad672
|
|
@ -620,7 +620,7 @@ public class DatabaseDataStore extends DataStore
|
||||||
connectionProps.put("user", this.userName);
|
connectionProps.put("user", this.userName);
|
||||||
connectionProps.put("password", this.password);
|
connectionProps.put("password", this.password);
|
||||||
connectionProps.put("autoReconnect", "true");
|
connectionProps.put("autoReconnect", "true");
|
||||||
connectionProps.put("maxReconnects", Integer.MAX_VALUE);
|
connectionProps.put("maxReconnects", String.valueOf(Integer.MAX_VALUE));
|
||||||
|
|
||||||
//establish connection
|
//establish connection
|
||||||
this.databaseConnection = DriverManager.getConnection(this.databaseUrl, connectionProps);
|
this.databaseConnection = DriverManager.getConnection(this.databaseUrl, connectionProps);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user