解决jeecg-boot-V3.8.0使用下拉树组件时高频率报错UT005071: Undertow request failed HttpServerExchange{ GET /sys/dict/loadTreeData} #8217

pull/8257/head^2
JEECG 2025-05-04 17:28:30 +08:00
parent 3b34276cf8
commit 77ae25b86a
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ public class CustomUndertowMetricsHandler {
// 获取当前 session如果不存在则创建
Session session = sessionManager.getSession(exchange, sessionConfig);
if (session == null) {
sessionManager.createSession(exchange, sessionConfig);
try {
sessionManager.createSession(exchange, sessionConfig);
} catch (Exception e) {}
}
// 执行下一个 Handler