fix: 代码丢失找回

server_five_liuyunhu
lijiayao 2024-04-06 10:47:14 +08:00
parent a5bf87099d
commit ba33f9abb6
1 changed files with 6 additions and 5 deletions

View File

@ -110,11 +110,12 @@ public class ModelMessage {
IncidentService incidentService = SpringUtils.getBean(string); IncidentService incidentService = SpringUtils.getBean(string);
incidentService.incident(msgData); incidentService.incident(msgData);
} }
try { // 不睡眠,他们也会主动拉取数据,不会影响其他服务
Thread.sleep(1000); // try {
} catch (InterruptedException e) { // Thread.sleep(1000);
throw new RuntimeException(e); // } catch (InterruptedException e) {
} // throw new RuntimeException(e);
// }
} }
} }