作者 朱兆平

config:获取消息频率暂时降低为10秒一次20条

@@ -21,7 +21,7 @@ import java.util.List; @@ -21,7 +21,7 @@ import java.util.List;
21 21
22 @Service 22 @Service
23 @Slf4j 23 @Slf4j
24 -@EnableAsync 24 +//@EnableAsync
25 public class Custom_Response_Processor { 25 public class Custom_Response_Processor {
26 26
27 27
@@ -43,8 +43,8 @@ public class Custom_Response_Processor { @@ -43,8 +43,8 @@ public class Custom_Response_Processor {
43 /** 43 /**
44 * feigin从服务直接获取消息 44 * feigin从服务直接获取消息
45 */ 45 */
46 - @Async  
47 - @Scheduled(fixedRate = 15000) 46 +// @Async
  47 + @Scheduled(fixedRate = 10000)
48 public void getDataFromFeigin(){ 48 public void getDataFromFeigin(){
49 try{ 49 try{
50 //初始化数据库 50 //初始化数据库