{"action":"created","issue":{"url":"https://api.github.com/repos/mher/flower/issues/375","labels_url":"https://api.github.com/repos/mher/flower/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/mher/flower/issues/375/comments","events_url":"https://api.github.com/repos/mher/flower/issues/375/events","html_url":"https://github.com/mher/flower/issues/375","id":67302601,"number":375,"title":"Relaunch tasks","user":{"login":"Melevir","id":1488499,"avatar_url":"https://avatars.githubusercontent.com/u/1488499?v=3","gravatar_id":"","url":"https://api.github.com/users/Melevir","html_url":"https://github.com/Melevir","followers_url":"https://api.github.com/users/Melevir/followers","following_url":"https://api.github.com/users/Melevir/following{/other_user}","gists_url":"https://api.github.com/users/Melevir/gists{/gist_id}","starred_url":"https://api.github.com/users/Melevir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Melevir/subscriptions","organizations_url":"https://api.github.com/users/Melevir/orgs","repos_url":"https://api.github.com/users/Melevir/repos","events_url":"https://api.github.com/users/Melevir/events{/privacy}","received_events_url":"https://api.github.com/users/Melevir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-09T07:52:37Z","updated_at":"2015-04-11T23:03:56Z","closed_at":null,"body":"Consider a use case: a user monitors a queue health, finds a failed task and want to execute the task again.\r\nTo do this, one have to manually launch the task from his app and that is not convenient.\r\nButton `relaunch` for finished tasks would be really helpful for failed tasks. On click, it puts the same task to the same queue with same arguments.\r\nThe only problem I see is complex arguments - since flower get stringified args/kwargs, the feature will works only for simple args/kwargs - int, float, string, datetime. If a task has arguments of other types, this feature is disabled.\r\n\r\nRealisation doesn't looks difficult, except args/kwargs parsing part - it can get a little verbose, I think.\r\n\r\nIs the feature ok for you?"},"comment":{"url":"https://api.github.com/repos/mher/flower/issues/comments/91938594","html_url":"https://github.com/mher/flower/issues/375#issuecomment-91938594","issue_url":"https://api.github.com/repos/mher/flower/issues/375","id":91938594,"user":{"login":"mher","id":691049,"avatar_url":"https://avatars.githubusercontent.com/u/691049?v=3","gravatar_id":"","url":"https://api.github.com/users/mher","html_url":"https://github.com/mher","followers_url":"https://api.github.com/users/mher/followers","following_url":"https://api.github.com/users/mher/following{/other_user}","gists_url":"https://api.github.com/users/mher/gists{/gist_id}","starred_url":"https://api.github.com/users/mher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mher/subscriptions","organizations_url":"https://api.github.com/users/mher/orgs","repos_url":"https://api.github.com/users/mher/repos","events_url":"https://api.github.com/users/mher/events{/privacy}","received_events_url":"https://api.github.com/users/mher/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T23:03:56Z","updated_at":"2015-04-11T23:03:56Z","body":"There is a pull request about this feature https://github.com/mher/flower/pull/158."}}