Skip to content

Commit

Permalink
Merge branch 'dev' of https://gitee.com/noear/folkmq into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Jan 17, 2024
2 parents 2ef1ad1 + e464570 commit bc0bf67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected void distribute0(MqMessageHolder messageHolder) {
return;
}

if(messageHolder.getExpiration() > 0 && messageHolder.getExpiration() > System.currentTimeMillis()){
if(messageHolder.getExpiration() > 0 && messageHolder.getExpiration() < System.currentTimeMillis()){
//已过期
messageMap.remove(messageHolder.getTid());
return;
Expand Down

0 comments on commit bc0bf67

Please sign in to comment.