From 63429d285ce39c7bf9690d9bd3182ef39a2d7355 Mon Sep 17 00:00:00 2001 From: pufik Date: Fri, 19 Aug 2016 16:41:37 +0300 Subject: [PATCH] start attempts count from 1 --- .../LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php b/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php index d6f4dbfc..6ff2d7cc 100644 --- a/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php +++ b/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php @@ -142,7 +142,7 @@ public function attempts() } } - return 0; + return 1; } /**