Skip to content

Commit

Permalink
[fix][test] entry filter makes no sense (apache#17170)
Browse files Browse the repository at this point in the history
* [fix][test] entry filter makes no sense because trackDelayedDelivery always return true

* apply comments

Co-authored-by: gavingaozhangmin <[email protected]>
  • Loading branch information
gaozhangmin and gavingaozhangmin authored Aug 22, 2022
1 parent 8159368 commit c4bd7ae
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ protected boolean isConsumersExceededOnSubscription() {

@Override
public boolean trackDelayedDelivery(long ledgerId, long entryId, MessageMetadata msgMetadata) {
//for test.
return true;
return msgMetadata.hasDeliverAtTime();
}

@Override
Expand Down

0 comments on commit c4bd7ae

Please sign in to comment.