{"action":"opened","issue":{"url":"https://api.github.com/repos/OptimalBits/bull/issues/353","repository_url":"https://api.github.com/repos/OptimalBits/bull","labels_url":"https://api.github.com/repos/OptimalBits/bull/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/OptimalBits/bull/issues/353/comments","events_url":"https://api.github.com/repos/OptimalBits/bull/issues/353/events","html_url":"https://github.com/OptimalBits/bull/issues/353","id":181809907,"number":353,"title":"attempts option doesn't working in normal queue","user":{"login":"Bersam","id":497148,"avatar_url":"https://avatars.githubusercontent.com/u/497148?v=3","gravatar_id":"","url":"https://api.github.com/users/Bersam","html_url":"https://github.com/Bersam","followers_url":"https://api.github.com/users/Bersam/followers","following_url":"https://api.github.com/users/Bersam/following{/other_user}","gists_url":"https://api.github.com/users/Bersam/gists{/gist_id}","starred_url":"https://api.github.com/users/Bersam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bersam/subscriptions","organizations_url":"https://api.github.com/users/Bersam/orgs","repos_url":"https://api.github.com/users/Bersam/repos","events_url":"https://api.github.com/users/Bersam/events{/privacy}","received_events_url":"https://api.github.com/users/Bersam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-08T07:12:27Z","updated_at":"2016-10-08T07:12:27Z","closed_at":null,"body":"I've added attempts as an option to my jobs and I can confirm that it's recognized as it's filled in attempts in redis, but for each job that failed, it only do that job for once. (using normal queue)\r\n\r\n[[\"attempts\",\"5\"],[\"delay\",\"0\"],[\"opts\",{\"priority\":\"critical\",\"attempts\":5}],[\"progress\",\"0\"],[\"data\",{}],[\"attemptsMade\",\"1\"],[\"timestamp\",\"1475909499776\"],[\"stacktrace\",\"[\\\"Error: reach end of source!\\\\\"]\"],[\"returnvalue\",\"\"]]\r\n\r\nit's not added to queue again, and it's not added to delayed job again. I've stayed for half hour but it doesn't seem to want to do that job again.\r\n\r\np.s. I've send priority option too, but queue is normal bull queue.\r\n\r\nbull: ^1.0.0\r\nredis: 3.0.6\r\nnode: v6.2.1"}}
{"actor":{"display_login":"Bersam"}}