Authored by FengRuwei

批量限制

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