添加多运行环境支持 #14

Open
xiaohai2271 wants to merge 36 commits from feat-multlyEnv#13 into master-old
Showing only changes of commit ec96a787ef - Show all commits

View File

@@ -45,6 +45,7 @@ public class DruidConfig {
dataSource.setInitialSize(10); dataSource.setInitialSize(10);
dataSource.setMinIdle(10); dataSource.setMinIdle(10);
dataSource.setMaxActive(100); dataSource.setMaxActive(100);
dataSource.setValidationQuery("select 1");
return dataSource; return dataSource;
} }