From 1e2305da6ede5c79f436aa7cd57cfbef6c2f83f0 Mon Sep 17 00:00:00 2001 From: rezra3 Date: Mon, 1 Jan 2018 17:46:28 +0200 Subject: [PATCH] codeine-218 connection pool is created every time in every task --- src/common/codeine/db/mysql/DbUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/codeine/db/mysql/DbUtils.java b/src/common/codeine/db/mysql/DbUtils.java index 8903bbe8..6b44ba19 100755 --- a/src/common/codeine/db/mysql/DbUtils.java +++ b/src/common/codeine/db/mysql/DbUtils.java @@ -242,7 +242,7 @@ private Properties getConnectionProperties(boolean useCompression) { } private String getConnectionPoolName(String sqlAddress) { - return sqlAddress.split(":")[0]; + return sqlAddress; } @Override