Skip to content

[5.4] Fix Timeoutless Job#19266

Merged
taylorotwell merged 1 commit into
laravel:5.4from
dbpolito:fix_timeoutless_job
May 20, 2017
Merged

[5.4] Fix Timeoutless Job#19266
taylorotwell merged 1 commit into
laravel:5.4from
dbpolito:fix_timeoutless_job

Conversation

@dbpolito

@dbpolito dbpolito commented May 18, 2017

Copy link
Copy Markdown
Contributor

If you set a job timeout to 0, it's being simply ignored, my PR fixes it.

class MyJob extends Job {
    public $timeout = 0;

    [...]
}

I haven't added any tests because there is no test at all for the timeout functionality.

@taylorotwell taylorotwell merged commit 650f74c into laravel:5.4 May 20, 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