{"action":"created","issue":{"url":"https://api.github.com/repos/RichardKnop/machinery/issues/116","repository_url":"https://api.github.com/repos/RichardKnop/machinery","labels_url":"https://api.github.com/repos/RichardKnop/machinery/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/RichardKnop/machinery/issues/116/comments","events_url":"https://api.github.com/repos/RichardKnop/machinery/issues/116/events","html_url":"https://github.com/RichardKnop/machinery/issues/116","id":205209369,"number":116,"title":"How to retry failed tasks?","user":{"login":"kartlee","id":5375690,"avatar_url":"https://avatars.githubusercontent.com/u/5375690?v=3","gravatar_id":"","url":"https://api.github.com/users/kartlee","html_url":"https://github.com/kartlee","followers_url":"https://api.github.com/users/kartlee/followers","following_url":"https://api.github.com/users/kartlee/following{/other_user}","gists_url":"https://api.github.com/users/kartlee/gists{/gist_id}","starred_url":"https://api.github.com/users/kartlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartlee/subscriptions","organizations_url":"https://api.github.com/users/kartlee/orgs","repos_url":"https://api.github.com/users/kartlee/repos","events_url":"https://api.github.com/users/kartlee/events{/privacy}","received_events_url":"https://api.github.com/users/kartlee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-03T16:47:16Z","updated_at":"2017-02-04T11:57:37Z","closed_at":null,"body":"Hi,\r\n\r\nIs there a way to configure the worker to retry the failed task at periodic interval and give up and report in the task queue status?\r\n\r\n-Karthik"},"comment":{"url":"https://api.github.com/repos/RichardKnop/machinery/issues/comments/277439808","html_url":"https://github.com/RichardKnop/machinery/issues/116#issuecomment-277439808","issue_url":"https://api.github.com/repos/RichardKnop/machinery/issues/116","id":277439808,"user":{"login":"RichardKnop","id":2325888,"avatar_url":"https://avatars.githubusercontent.com/u/2325888?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardKnop","html_url":"https://github.com/RichardKnop","followers_url":"https://api.github.com/users/RichardKnop/followers","following_url":"https://api.github.com/users/RichardKnop/following{/other_user}","gists_url":"https://api.github.com/users/RichardKnop/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardKnop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardKnop/subscriptions","organizations_url":"https://api.github.com/users/RichardKnop/orgs","repos_url":"https://api.github.com/users/RichardKnop/repos","events_url":"https://api.github.com/users/RichardKnop/events{/privacy}","received_events_url":"https://api.github.com/users/RichardKnop/received_events","type":"User","site_admin":false},"created_at":"2017-02-04T11:57:37Z","updated_at":"2017-02-04T11:57:37Z","body":"@kartlee There isn't a way to configure machinery to retry failed tasks at the moment. You can set callback tasks (OnSuccess task will be called when task completes successfully, OnError task will be called when the task failed - and the error string will be first argument passed to it)."}}
{"actor":{"display_login":"RichardKnop"}}