Skip to content

Commit

Permalink
[ISSUE apache#5104] Clean property PROPERTY_TIMER_DELAY_MS if not tim…
Browse files Browse the repository at this point in the history
…er message #
  • Loading branch information
Oliverwqcwrw authored and odbozhou committed Sep 19, 2022
1 parent 2aa8124 commit a174e0b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ public static boolean checkIfTimerMessage(MessageExtBrokerInner msg) {
if (null != msg.getProperty(MessageConst.PROPERTY_TIMER_DELAY_SEC)) {
MessageAccessor.clearProperty(msg, MessageConst.PROPERTY_TIMER_DELAY_SEC);
}
if (null != msg.getProperty(MessageConst.PROPERTY_TIMER_DELAY_MS)) {
MessageAccessor.clearProperty(msg, MessageConst.PROPERTY_TIMER_DELAY_MS);
}
return false;
//return this.defaultMessageStore.getMessageStoreConfig().isTimerInterceptDelayLevel();
}
Expand Down

0 comments on commit a174e0b

Please sign in to comment.