{"action":"created","issue":{"url":"https://api.github.com/repos/jezdez/hirefire/issues/13","repository_url":"https://api.github.com/repos/jezdez/hirefire","labels_url":"https://api.github.com/repos/jezdez/hirefire/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/jezdez/hirefire/issues/13/comments","events_url":"https://api.github.com/repos/jezdez/hirefire/issues/13/events","html_url":"https://github.com/jezdez/hirefire/pull/13","id":126218774,"number":13,"title":"Use inspect to get tasks from celery workers","user":{"login":"ryanhiebert","id":425099,"avatar_url":"https://avatars.githubusercontent.com/u/425099?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanhiebert","html_url":"https://github.com/ryanhiebert","followers_url":"https://api.github.com/users/ryanhiebert/followers","following_url":"https://api.github.com/users/ryanhiebert/following{/other_user}","gists_url":"https://api.github.com/users/ryanhiebert/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhiebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhiebert/subscriptions","organizations_url":"https://api.github.com/users/ryanhiebert/orgs","repos_url":"https://api.github.com/users/ryanhiebert/repos","events_url":"https://api.github.com/users/ryanhiebert/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhiebert/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-01-12T16:34:40Z","updated_at":"2016-05-13T05:56:24Z","closed_at":"2016-05-13T05:50:20Z","pull_request":{"url":"https://api.github.com/repos/jezdez/hirefire/pulls/13","html_url":"https://github.com/jezdez/hirefire/pull/13","diff_url":"https://github.com/jezdez/hirefire/pull/13.diff","patch_url":"https://github.com/jezdez/hirefire/pull/13.patch"},"body":"Fixes #8 \r\n\r\nIn-progress celery tasks haven't been considered. This adds getting those active jobs.\r\n\r\nUnfortunately, the methods to run to get those jobs are quite expensive. Fortunately, they can be run once per request and get all the needed data. Add a request-wide cache dictionary for use in optimizations like this. In this case, having a cache allows us to keep the Celery complexity in the celery-specific proc, and keep the request-wide code clean, agnostic, and reasonably simple."},"comment":{"url":"https://api.github.com/repos/jezdez/hirefire/issues/comments/218958361","html_url":"https://github.com/jezdez/hirefire/pull/13#issuecomment-218958361","issue_url":"https://api.github.com/repos/jezdez/hirefire/issues/13","id":218958361,"user":{"login":"jezdez","id":1610,"avatar_url":"https://avatars.githubusercontent.com/u/1610?v=3","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T05:56:24Z","updated_at":"2016-05-13T05:56:24Z","body":"@ask \\o/"}}