Skip to content

Commit 3681e17

Browse files
committed
redis new implementation
1 parent 7716a82 commit 3681e17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pkg/redis/RedisConsumerHelperTrait.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function processResult(RedisResult $result, int $redeliveryDelay): ?Re
6868

6969
$now = time();
7070

71-
if ($expiresAt = $message->getHeader('expires_at')) {
71+
if (0 === $message->getAttempts() && $expiresAt = $message->getHeader('expires_at')) {
7272
if ($now > $expiresAt) {
7373
return null;
7474
}

0 commit comments

Comments
 (0)