Commit 190ec639 authored by duanruiming's avatar duanruiming

[add] 事件修改逻辑添加死锁重试

parent 674d6973
......@@ -174,9 +174,9 @@ public class DataProcessServiceImpl implements DataProcessService {
log.warn("检测到死锁,进行第 {} 次重试", retryCount);
try {
// 等待一会,避免立刻冲突
Thread.sleep(300);
Thread.sleep(500);
} catch (InterruptedException ignored) {
log.warn("检测到死锁, Thread.sleep 300ms,异常:{}", ignored);
log.warn("检测到死锁, Thread.sleep 500ms,异常:{}", ignored);
}
}
}
......
......@@ -53,6 +53,7 @@
<file>${LOG_PATH}/dataCenter/error.log</file>
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>ERROR</level>
<level>WARN</level>
</filter>>
<encoder>
<pattern>${normal-pattern}</pattern>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment