作者 朱兆平

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

... ... @@ -21,7 +21,7 @@ import java.util.List;
@Service
@Slf4j
@EnableAsync
//@EnableAsync
public class Custom_Response_Processor {
... ... @@ -43,8 +43,8 @@ public class Custom_Response_Processor {
/**
* feigin从服务直接获取消息
*/
@Async
@Scheduled(fixedRate = 15000)
// @Async
@Scheduled(fixedRate = 10000)
public void getDataFromFeigin(){
try{
//初始化数据库
... ...