Add database setting to configure HikariCP 'maxLifetime' #1279

This commit is contained in:
DNx
2017-07-12 07:21:05 +07:00
parent e1826c75c8
commit 87b9bf140d
3 changed files with 14 additions and 2 deletions
+3
View File
@@ -58,6 +58,9 @@ DataSource:
mySQLlastlocPitch: 'pitch'
# Overrides the size of the DB Connection Pool, -1 = Auto
poolSize: -1
# The maximum lifetime of a connection in the pool, default = 1800 seconds
# You should set this at least 30 seconds less than mysql server wait_timeout
maxLifetime: 1800
ExternalBoardOptions:
# Column for storing players passwords salts
mySQLColumnSalt: ''