Skip to content

Conversation

themsaid
Copy link
Member

The --delay option was replaced with --backoff. However, the worker still accepts the --delay option to support old daemons running on servers.

The problem is that since we introduced --backoff, --delay stopped working because $this->hasOption('backoff') always returns true.

In this PR we fix that by using the highest value provided from the options. Since they both default to zero, the highest value will be the option provided.

@taylorotwell taylorotwell merged commit 6b01aea into laravel:8.x Jan 22, 2021
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