Move MapleArrowFetcher to the main module

This commit is contained in:
P0nk
2021-07-10 18:07:46 +02:00
parent 14a405adb2
commit bc6593fd81
8 changed files with 415 additions and 2 deletions

View File

@@ -63,6 +63,10 @@ public class DatabaseConnection {
* @return true if connection to the database initiated successfully, false if not successful
*/
public static boolean initializeConnectionPool() {
if (dataSource != null) {
return true;
}
log.info("Initializing connection pool...");
final HikariConfig config = getConfig();
Instant initStart = Instant.now();