Authored by FengRuwei

批量限制

@@ -138,7 +138,7 @@ public class JavaApiStaticsMapper implements IJavaApiStaticsMapper { @@ -138,7 +138,7 @@ public class JavaApiStaticsMapper implements IJavaApiStaticsMapper {
138 List<JavaApiStatusReq> splitReqList = new ArrayList<JavaApiStatusReq>(); 138 List<JavaApiStatusReq> splitReqList = new ArrayList<JavaApiStatusReq>();
139 for (JavaApiStatusReq param : paramList) { 139 for (JavaApiStatusReq param : paramList) {
140 splitReqList.add(param); 140 splitReqList.add(param);
141 - if (splitReqList.size() >= 20) { 141 + if (splitReqList.size() >= 10) {
142 javaApiStaticsModels.addAll(selectlatestJavaApiStaticsList_batch_split(influxDBName, splitReqList)); 142 javaApiStaticsModels.addAll(selectlatestJavaApiStaticsList_batch_split(influxDBName, splitReqList));
143 splitReqList.clear(); 143 splitReqList.clear();
144 } 144 }