Browse Source

雷达视频下载

develop
王兴琳 3 months ago
parent
commit
3ddd6cbd8c
  1. 2
      zc-business/src/main/java/com/zc/business/controller/RadarController.java

2
zc-business/src/main/java/com/zc/business/controller/RadarController.java

@ -54,7 +54,7 @@ public class RadarController {
dcWarning.setEndDate(FifteenMinutesAgo); dcWarning.setEndDate(FifteenMinutesAgo);
List<DcWarning> radarList = dcWarningService.radarList(dcWarning); List<DcWarning> radarList = dcWarningService.radarList(dcWarning);
// 创建一个固定大小的线程池 // 创建一个固定大小的线程池
ExecutorService executor = Executors.newFixedThreadPool(5); // 线程池大小 ExecutorService executor = Executors.newFixedThreadPool(3); // 线程池大小
try { try {
radarList.forEach(radar -> { radarList.forEach(radar -> {

Loading…
Cancel
Save