Skip to content

[5.4] Add ability to set queue parameters from within a queued listener#18375

Merged
taylorotwell merged 2 commits into
laravel:5.4from
themsaid:listenerQueueParams
Mar 16, 2017
Merged

[5.4] Add ability to set queue parameters from within a queued listener#18375
taylorotwell merged 2 commits into
laravel:5.4from
themsaid:listenerQueueParams

Conversation

@themsaid

Copy link
Copy Markdown
Member

This PR allows setting the following queue parameters from within the listener:

class TestListener implements ShouldQueue
{
    public $connection = 'sqs';

    public $queue = 'listeners';

    public $tries = 10;

    public $timeout = 30;
    
    public $delay = 15;
}

@taylorotwell taylorotwell merged commit c6c0c9e into laravel:5.4 Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants