stalary commented on code in PR #11798:
URL: https://github.com/apache/dolphinscheduler/pull/11798#discussion_r963764656


##########
dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/provider/JDBCDataSourceProvider.java:
##########
@@ -52,7 +52,7 @@ public static HikariDataSource 
createJdbcDataSource(BaseConnectionParam properti
         dataSource.setUsername(properties.getUser());
         
dataSource.setPassword(PasswordUtils.decodePassword(properties.getPassword()));
 
-        
dataSource.setMinimumIdle(PropertyUtils.getInt(Constants.SPRING_DATASOURCE_MIN_IDLE,
 5));
+        
dataSource.setMinimumIdle(PropertyUtils.getInt(Constants.SPRING_DATASOURCE_MIN_IDLE,
 1));

Review Comment:
   > I don't think we need to do this change :).
   
   Ok, let's leave it to the user to config



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to