bugfix: stuck pending messages
Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
This commit is contained in:
parent
d38c786771
commit
ce2570cfa2
|
@ -399,7 +399,7 @@ func (r *redisStreams) removeMessagesThatNoLongerExistFromPending(ctx context.Co
|
|||
Stream: stream,
|
||||
Group: r.metadata.consumerID,
|
||||
Consumer: r.metadata.consumerID,
|
||||
MinIdle: r.metadata.processingTimeout,
|
||||
MinIdle: 0,
|
||||
Messages: []string{pendingID},
|
||||
}).Result()
|
||||
if err != nil && !errors.Is(err, redis.Nil) {
|
||||
|
|
Loading…
Reference in New Issue