INT-1667: change < to <= for message group reaping

This commit is contained in:
Dave Syer
2010-12-06 17:52:04 +00:00
parent b4d22ac021
commit 15bdb84f0b

View File

@@ -60,7 +60,7 @@ public abstract class AbstractMessageGroupStore implements MessageGroupStore, It
int count = 0;
long threshold = System.currentTimeMillis() - timeout;
for (MessageGroup group : this) {
if (group.getTimestamp() < threshold) {
if (group.getTimestamp() <= threshold) {
count++;
expire(group);
}