|
|
@@ -244,6 +244,11 @@ public class Task {
|
|
|
String value = (String) cacheMap.get(key);
|
|
|
//获取sessionId
|
|
|
Long sessionId = Long.parseLong(key);
|
|
|
+ try {
|
|
|
+ Thread.sleep(800);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("定时消息处理异常,会话id:{},文本:{}",sessionId,value,e);
|
|
|
+ }
|
|
|
try {
|
|
|
if (value != null && !value.isEmpty()) {
|
|
|
FastGptChatSession chatSession = fastGptChatSessionMapper.selectFastGptChatSessionBySessionId(sessionId);
|