Skip to content

Commit

Permalink
[ISSUE #6077] fix issues that messageStore could be null
Browse files Browse the repository at this point in the history
  • Loading branch information
hardyfish authored Feb 16, 2023
1 parent bf33443 commit 5a8818b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -770,10 +770,9 @@ public boolean initialize() throws CloneNotSupportedException {
}
if (messageStore != null) {
registerMessageStoreHook();
result = result && this.messageStore.load();
}

result = result && this.messageStore.load();

if (messageStoreConfig.isTimerWheelEnable()) {
result = result && this.timerMessageStore.load();
}
Expand Down

0 comments on commit 5a8818b

Please sign in to comment.