Skip to content

Commit a8f01df

Browse files
authored
fix: correctly mark messages to be reconsumed (#693)
1 parent a8b10ce commit a8f01df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumer/push_consumer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ func (pc *pushConsumer) consumeMessageOrderly(pq *processQueue, mq *primitive.Me
11621162
commitOffset = pq.commit()
11631163
case SuspendCurrentQueueAMoment:
11641164
if pc.checkReconsumeTimes(msgs) {
1165-
pq.putMessage(msgs...)
1165+
pq.makeMessageToCosumeAgain(msgs...)
11661166
time.Sleep(time.Duration(orderlyCtx.SuspendCurrentQueueTimeMillis) * time.Millisecond)
11671167
continueConsume = false
11681168
} else {

0 commit comments

Comments
 (0)