From 0084296332ae99add100091f99877abe1f543517 Mon Sep 17 00:00:00 2001 From: wangfeng5312 Date: Tue, 7 Mar 2017 17:50:34 +0800 Subject: [PATCH 1/5] Update RabbitMQJob.php --- .../Queue/Jobs/RabbitMQJob.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php b/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php index 60cf04e7..4f0294b8 100644 --- a/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php +++ b/src/VladimirYuldashev/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php @@ -155,7 +155,21 @@ public function release($delay = 0) $this->connection->push($job, $data, $this->getQueue()); } } - + + /** + * Release the job back into the queue.(not delete) + * + * @param int $delay + * + * @throws Exception + * + * @return void + */ + public function sequenceRelease() + { + $this->released = true; + } + /** * Sets the count of attempts at processing this job. * From 0fe3b7a0c5b17553800a52305fd865d0f0aceb59 Mon Sep 17 00:00:00 2001 From: wangfeng5312 Date: Tue, 7 Mar 2017 17:57:10 +0800 Subject: [PATCH 2/5] Update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 39c8c42f..f7d08e15 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,11 @@ { - "name": "vladimir-yuldashev/laravel-queue-rabbitmq", + "name": "wangfeng5312/laravel-queue-rabbitmq", "description": "RabbitMQ driver for Laravel Queue", "license": "MIT", "authors": [ { - "name": "Vladimir Yuldashev", - "email": "misterio92@gmail.com" + "name": "wangfeng5312", + "email": "wangfeng5312@sina.com" } ], "require": { From 86166ba2a87d94c9b15bbadc809330628b54b282 Mon Sep 17 00:00:00 2001 From: wangfeng5312 Date: Tue, 7 Mar 2017 18:42:55 +0800 Subject: [PATCH 3/5] Update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f7d08e15..35c2c376 100644 --- a/composer.json +++ b/composer.json @@ -10,9 +10,9 @@ ], "require": { "php": ">=5.6.4", - "illuminate/database": "5.4.*", - "illuminate/support": "5.4.*", - "illuminate/queue": "5.4.*", + "illuminate/database": "5.2.*", + "illuminate/support": "5.2.*", + "illuminate/queue": "5.2.*", "php-amqplib/php-amqplib": "2.6.*" }, "require-dev": { From 0829b46ea20e7c247cd4aa217cadd4bc379e8236 Mon Sep 17 00:00:00 2001 From: wangfeng5312 Date: Tue, 7 Mar 2017 18:51:55 +0800 Subject: [PATCH 4/5] Update composer.json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 35c2c376..f7d08e15 100644 --- a/composer.json +++ b/composer.json @@ -10,9 +10,9 @@ ], "require": { "php": ">=5.6.4", - "illuminate/database": "5.2.*", - "illuminate/support": "5.2.*", - "illuminate/queue": "5.2.*", + "illuminate/database": "5.4.*", + "illuminate/support": "5.4.*", + "illuminate/queue": "5.4.*", "php-amqplib/php-amqplib": "2.6.*" }, "require-dev": { From 24eda49073de412305acc0deacb3690c5eaa4cc9 Mon Sep 17 00:00:00 2001 From: wangfeng5312 Date: Tue, 7 Mar 2017 19:19:05 +0800 Subject: [PATCH 5/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f7d08e15..44ad4cfa 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "wangfeng5312/laravel-queue-rabbitmq", + "name": "haibian/laravel-queue-rabbitmq", "description": "RabbitMQ driver for Laravel Queue", "license": "MIT", "authors": [