{"comment":{"url":"https://api.github.com/repos/laravel/framework/comments/18975602","html_url":"https://github.com/laravel/framework/commit/de2e30a80943702166f0e2cce9cf088a64a9e435#commitcomment-18975602","id":18975602,"user":{"login":"Landish","id":534610,"avatar_url":"https://avatars.githubusercontent.com/u/534610?v=3","gravatar_id":"","url":"https://api.github.com/users/Landish","html_url":"https://github.com/Landish","followers_url":"https://api.github.com/users/Landish/followers","following_url":"https://api.github.com/users/Landish/following{/other_user}","gists_url":"https://api.github.com/users/Landish/gists{/gist_id}","starred_url":"https://api.github.com/users/Landish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Landish/subscriptions","organizations_url":"https://api.github.com/users/Landish/orgs","repos_url":"https://api.github.com/users/Landish/repos","events_url":"https://api.github.com/users/Landish/events{/privacy}","received_events_url":"https://api.github.com/users/Landish/received_events","type":"User","site_admin":false},"position":24,"line":267,"path":"src/Illuminate/Queue/Worker.php","commit_id":"de2e30a80943702166f0e2cce9cf088a64a9e435","created_at":"2016-09-11T01:19:59Z","updated_at":"2016-09-11T01:19:59Z","body":"Not sure, if i'm doing something wrong, or this code has a problem, but, after upgrading to 5.3.8 version, when I call `php artisan queue:listen` it always throws `markJobAsFailedIfAlreadyExceedsMaxAttempts` exception, because  `$maxTries` is 0 and `$job->attempts()` is 1. So condition `$job->attempts() <= $maxTries` will be always false. To fix this issue I had to run ` php artisan queue:listen --tries=1`. \r\n\r\nUntil this release I had no issue with working with queues, but now I do. I guess, there are 2 options to fix this: \r\n\r\n* Set `WorkerOptions` `maxTries` property to `1`.\r\n* Update `markJobAsFailedIfAlreadyExceedsMaxAttempts`, so it could work with current default params (in this case `--tries=0`)."}}
{"actor":{"display_login":"Landish"}}