Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
wForget committed Jul 15, 2024
1 parent fd21a82 commit 27138a7
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,12 @@ protected DataSource buildDataSource(String dbUrl, Map<String, String> propertie
properties, JDBCEngineConnConstant.JDBC_POOL_REMOVE_ABANDONED_TIMEOUT, 300);

int connectionTimeout =
JDBCPropertiesParser.getInt(
properties, JDBCEngineConnConstant.JDBC_CONNECTION_TIMEOUT, 0);
JDBCPropertiesParser.getInt(properties, JDBCEngineConnConstant.JDBC_CONNECTION_TIMEOUT, 0);
int socketTimeout =
JDBCPropertiesParser.getInt(
properties, JDBCEngineConnConstant.JDBC_SOCKET_TIMEOUT, 0);
JDBCPropertiesParser.getInt(properties, JDBCEngineConnConstant.JDBC_SOCKET_TIMEOUT, 0);
int queryTimeout =
JDBCPropertiesParser.getInt(
properties, JDBCConfiguration$.MODULE$.JDBC_QUERY_TIMEOUT().key(), 0);
JDBCPropertiesParser.getInt(
properties, JDBCConfiguration$.MODULE$.JDBC_QUERY_TIMEOUT().key(), 0);

DruidDataSource datasource = new DruidDataSource();
LOG.info("Database connection address information(数据库连接地址信息)=" + dbUrl);
Expand Down

0 comments on commit 27138a7

Please sign in to comment.