2017 © Pedro Peláez
 

library expbackoffworker

Adds automatic exponential backoff to Laravel 5's queue worker

image

deboorn/expbackoffworker

Adds automatic exponential backoff to Laravel 5's queue worker

  • Friday, October 9, 2015
  • by daniel.boorn
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2,062 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ExpBackoffWorker

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Adds automatic exponential backoff with default delay of 30 seconds and max delay of 2 hours to Laravel 5.3+ queue worker., (*2)

Install

Laravel 5.3+

  1. Install the deboorn/expbackoffworker package via Composer, (*3)

    $ composer require deboorn/expbackoffworker
    
  2. Update config/app.php to activate ExpBackoffWorker, (*4)

    # Add `QueueServiceProvider` to the `providers` array
    'providers' => [
        ...
        ExpBackoffWorker\QueueServiceProvider::class,
    ]
    
  3. Update config/queue.php to increase {queue-driver}.retry_after to max delay + 100, such as redis.retry_after, (*5)

        # Update `retry_after` for the queue connection you plan to use
        'redis' => [
              ...
            'retry_after' => 7300,
        ],
    

Change log

Please see CHANGELOG for more information on what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*8)

Security

If you discover any security related issues, please email daniel.boorn [at] gmail.com instead of using the issue tracker., (*9)

Credits

License

The Apache 2.0 License (Apache-2.0). Please see License File for more information., (*10)

The Versions

09/10 2015

dev-master

9999999-dev https://github.com/deboorn/expbackoffworker

Adds automatic exponential backoff to Laravel 5's queue worker

  Sources   Download

MIT

The Requires

 

by Daniel Boorn

laravel backoff exponential

03/10 2015

v1

1.0.0.0 https://github.com/deboorn/ExpBackoffWorker

Adds automatic exponential backoff to Laravel 5's queue worker

  Sources   Download

MIT

The Requires

 

by Daniel Boorn

laravel backoff exponential