未验证 提交 952772fa 编写于 作者: R rongtong 提交者: GitHub

fix(dledger): reload the delay offset when master changed (#2518)

上级 2fb5f7ac
...@@ -112,6 +112,7 @@ public class ScheduleMessageService extends ConfigManager { ...@@ -112,6 +112,7 @@ public class ScheduleMessageService extends ConfigManager {
public void start() { public void start() {
if (started.compareAndSet(false, true)) { if (started.compareAndSet(false, true)) {
super.load();
this.timer = new Timer("ScheduleMessageTimerThread", true); this.timer = new Timer("ScheduleMessageTimerThread", true);
for (Map.Entry<Integer, Long> entry : this.delayLevelTable.entrySet()) { for (Map.Entry<Integer, Long> entry : this.delayLevelTable.entrySet()) {
Integer level = entry.getKey(); Integer level = entry.getKey();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册