Commit 907b94ac994e5454bbb69bbc9567724ccf4eb7d0

Authored by 潘钊
1 parent 89e0f69e

update...

src/main/java/com/bsth/data/directive/DirectivesPstThread.java
... ... @@ -192,7 +192,7 @@ public class DirectivesPstThread extends Thread {
192 192  
193 193 tran.commit(status);
194 194  
195   - logger.info("60 更新成功: " + d60s.size());
  195 + //logger.info("60 更新成功: " + d60s.size());
196 196 }catch (Exception e){
197 197 tran.rollback(status);
198 198 logger.error("", e);
... ... @@ -266,7 +266,7 @@ public class DirectivesPstThread extends Thread {
266 266  
267 267 tran.commit(status);
268 268  
269   - logger.info("60 入库成功: " + d60s.size());
  269 + //logger.info("60 入库成功: " + d60s.size());
270 270 }catch (Exception e){
271 271 tran.rollback(status);
272 272 logger.error("", e);
... ...
src/main/java/com/bsth/data/gpsdata_v2/DataHandleProcess.java
... ... @@ -41,7 +41,7 @@ public class DataHandleProcess {
41 41  
42 42 static Logger logger = LoggerFactory.getLogger(DataHandleProcess.class);
43 43  
44   - final static int POOL_SIZE = 20;
  44 + final static int POOL_SIZE = 9;
45 45  
46 46 static ExecutorService threadPool = Executors.newFixedThreadPool(POOL_SIZE + 1);
47 47 public static CountDownLatch count;
... ...
src/main/java/com/bsth/data/schedule/thread/CalcOilThread.java
... ... @@ -2,12 +2,10 @@ package com.bsth.data.schedule.thread;
2 2  
3 3 import com.bsth.data.directive.DayOfDirectives;
4 4 import com.bsth.data.gpsdata_v2.handlers.overspeed.OverspeedProcess;
5   -import com.bsth.data.gpsdata_v2.thread.GpsDataLoaderThread;
6   -import com.bsth.service.oil.DlbService;
7 5 import com.bsth.data.safe_driv.SafeDrivCenter;
  6 +import com.bsth.service.oil.DlbService;
8 7 import com.bsth.service.oil.YlbService;
9 8 import com.bsth.service.report.SheetService;
10   -
11 9 import org.slf4j.Logger;
12 10 import org.slf4j.LoggerFactory;
13 11 import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -52,8 +50,5 @@ public class CalcOilThread extends Thread{
52 50 SafeDrivCenter.clear();
53 51 //清除超速缓存数据
54 52 OverspeedProcess.clear();
55   -
56   - GpsDataLoaderThread.setFlag(0);
57   -
58 53 }
59 54 }
... ...