{"action":"created","issue":{"url":"https://api.github.com/repos/c-rack/quantum-elixir/issues/14","labels_url":"https://api.github.com/repos/c-rack/quantum-elixir/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/c-rack/quantum-elixir/issues/14/comments","events_url":"https://api.github.com/repos/c-rack/quantum-elixir/issues/14/events","html_url":"https://github.com/c-rack/quantum-elixir/issues/14","id":100669217,"number":14,"title":"Problem: long-running jobs are killed on application upgrade","user":{"login":"alPacino","id":26230,"avatar_url":"https://avatars.githubusercontent.com/u/26230?v=3","gravatar_id":"","url":"https://api.github.com/users/alPacino","html_url":"https://github.com/alPacino","followers_url":"https://api.github.com/users/alPacino/followers","following_url":"https://api.github.com/users/alPacino/following{/other_user}","gists_url":"https://api.github.com/users/alPacino/gists{/gist_id}","starred_url":"https://api.github.com/users/alPacino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alPacino/subscriptions","organizations_url":"https://api.github.com/users/alPacino/orgs","repos_url":"https://api.github.com/users/alPacino/repos","events_url":"https://api.github.com/users/alPacino/events{/privacy}","received_events_url":"https://api.github.com/users/alPacino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T01:14:09Z","updated_at":"2015-08-13T08:22:41Z","closed_at":null,"body":"When app is upgrading (using [exrm](https://github.com/bitwalker/exrm) for example) and some task id still processing some job the task is killed without waiting for completion.\r\n\r\nI've dug into this problem but still have no solution. Even asked on stackoverflow.com ([Elixir Task - Graceful shutdown](http://stackoverflow.com/questions/31977215/elixir-task-graceful-shutdown))."},"comment":{"url":"https://api.github.com/repos/c-rack/quantum-elixir/issues/comments/130572682","html_url":"https://github.com/c-rack/quantum-elixir/issues/14#issuecomment-130572682","issue_url":"https://api.github.com/repos/c-rack/quantum-elixir/issues/14","id":130572682,"user":{"login":"c-rack","id":169184,"avatar_url":"https://avatars.githubusercontent.com/u/169184?v=3","gravatar_id":"","url":"https://api.github.com/users/c-rack","html_url":"https://github.com/c-rack","followers_url":"https://api.github.com/users/c-rack/followers","following_url":"https://api.github.com/users/c-rack/following{/other_user}","gists_url":"https://api.github.com/users/c-rack/gists{/gist_id}","starred_url":"https://api.github.com/users/c-rack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-rack/subscriptions","organizations_url":"https://api.github.com/users/c-rack/orgs","repos_url":"https://api.github.com/users/c-rack/repos","events_url":"https://api.github.com/users/c-rack/events{/privacy}","received_events_url":"https://api.github.com/users/c-rack/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T08:22:41Z","updated_at":"2015-08-13T08:22:41Z","body":"Do you think it is possible to send a PR with a minimal test that reproduces the problem? I saw your code on SO, but having our own test within the project might be better.\r\n\r\nAlso, this issue might be related to #8, where we need a similar behaviour (i.e. checking the status of tasks / waiting for tasks to finish)."}}