|
@@ -37,8 +37,8 @@ import java.util.stream.Collectors;
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
public class TaskService {
|
|
|
- private static ExecutorService executorService = Executors.newFixedThreadPool(5);
|
|
|
- private static ExecutorService alarmExecutorService = Executors.newFixedThreadPool(5);
|
|
|
+ private static ExecutorService executorService = Executors.newFixedThreadPool(50);
|
|
|
+ private static ExecutorService alarmExecutorService = Executors.newFixedThreadPool(10);
|
|
|
@Resource
|
|
|
BaseCameraManagementService baseCameraManagementService;
|
|
|
@Resource
|
|
@@ -70,6 +70,7 @@ public class TaskService {
|
|
|
public void run() {
|
|
|
log.info("调用图片生成服务开始");
|
|
|
try {
|
|
|
+ System.out.println("fileName"+fileName+"正常图片开始截图时间"+new Date());
|
|
|
cameraCaptureService.getCapture(url, fileName);
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|