From de92966b891facff206482ce52f36d8a61f34569 Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Tue, 11 Feb 2020 18:25:10 +0100 Subject: [PATCH] Add new database connection options --- resources/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/config.yml b/resources/config.yml index a94544a..6f6bcc0 100644 --- a/resources/config.yml +++ b/resources/config.yml @@ -72,6 +72,10 @@ Database: Password: minecraft # The max amount of connections to the database the connection pool will open MaxConnections: 2 + # Sets the max lifetime of the connection in seconds. -1 = Default (30min) + MaxLifetime: -1 + # Sets the idle timeout of the connection in seconds. -1 = Default (15min) + IdleTimeout: # List of properties for your SQL connection. Can be used to disable SSL. # Properties: ["useSSL=false"] Properties: []