Set up connection pool and enforce usage of it

Attempt to initialize connection pool on startup until a timeout.
This commit is contained in:
P0nk
2021-04-02 14:20:45 +02:00
parent 05bd668cc2
commit 45331d17b0
4 changed files with 59 additions and 80 deletions

View File

@@ -165,7 +165,6 @@ server:
DB_URL: "jdbc:mysql://localhost:3306/cosmic"
DB_USER: "cosmic_server"
DB_PASS: "snailshell"
DB_CONNECTION_POOL: true #Installs a connection pool to hub DB connections. Set false to default.
#Login Configuration
WORLDS: 1 #Initial number of worlds on the server.