监控视频失效重试
This commit is contained in:
parent
55e3b4a44e
commit
4c7df1cfb4
|
@ -56,8 +56,8 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
@Service
|
||||
@Log4j2
|
||||
public class MonitorService {
|
||||
private static Integer cpuNUm = Runtime.getRuntime().availableProcessors();
|
||||
private static final ExecutorService executor = Executors.newFixedThreadPool(cpuNUm);
|
||||
// private static Integer cpuNUm = Runtime.getRuntime().availableProcessors();
|
||||
private static final ExecutorService executor = Executors.newFixedThreadPool(1);
|
||||
|
||||
@Autowired
|
||||
private ApplicationEventPublisher publisher;
|
||||
|
@ -210,7 +210,7 @@ public class MonitorService {
|
|||
|
||||
//出错后重新登录
|
||||
timer.cancel();
|
||||
thatMonitorService.start();
|
||||
thatMonitorService.init();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue