{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/kue/issues/794","repository_url":"https://api.github.com/repos/Automattic/kue","labels_url":"https://api.github.com/repos/Automattic/kue/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/kue/issues/794/comments","events_url":"https://api.github.com/repos/Automattic/kue/issues/794/events","html_url":"https://github.com/Automattic/kue/pull/794","id":124610054,"number":794,"title":"Feature/time series states","user":{"login":"mansona","id":594890,"avatar_url":"https://avatars.githubusercontent.com/u/594890?v=3","gravatar_id":"","url":"https://api.github.com/users/mansona","html_url":"https://github.com/mansona","followers_url":"https://api.github.com/users/mansona/followers","following_url":"https://api.github.com/users/mansona/following{/other_user}","gists_url":"https://api.github.com/users/mansona/gists{/gist_id}","starred_url":"https://api.github.com/users/mansona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansona/subscriptions","organizations_url":"https://api.github.com/users/mansona/orgs","repos_url":"https://api.github.com/users/mansona/repos","events_url":"https://api.github.com/users/mansona/events{/privacy}","received_events_url":"https://api.github.com/users/mansona/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/kue/labels/Feature","name":"Feature","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-01-02T20:25:58Z","updated_at":"2016-10-17T14:17:44Z","closed_at":"2016-10-14T10:52:50Z","pull_request":{"url":"https://api.github.com/repos/Automattic/kue/pulls/794","html_url":"https://github.com/Automattic/kue/pull/794","diff_url":"https://github.com/Automattic/kue/pull/794.diff","patch_url":"https://github.com/Automattic/kue/pull/794.patch"},"body":"This tracks the time that a job changes state on a hourly granularity in a zset with key `'jobs:' + state + ':' + (Math.floor(Date.now() / 3600000) * 3600000)` where `(Math.floor(Date.now() / 3600000) * 3600000)` is just a timestamp that is a \"floored hour\"\r\n\r\nThis also provides a json api to access the time series data using the autoroute upgrade in this PR https://github.com/Automattic/kue/pull/792\r\n\r\nThere is a test that copies the same style as other JSON API tests to verify that it works. \r\n\r\nLet me know if you have any questions and I can go into a more full explanation. "},"comment":{"url":"https://api.github.com/repos/Automattic/kue/issues/comments/254220266","html_url":"https://github.com/Automattic/kue/pull/794#issuecomment-254220266","issue_url":"https://api.github.com/repos/Automattic/kue/issues/794","id":254220266,"user":{"login":"behrad","id":2151889,"avatar_url":"https://avatars.githubusercontent.com/u/2151889?v=3","gravatar_id":"","url":"https://api.github.com/users/behrad","html_url":"https://github.com/behrad","followers_url":"https://api.github.com/users/behrad/followers","following_url":"https://api.github.com/users/behrad/following{/other_user}","gists_url":"https://api.github.com/users/behrad/gists{/gist_id}","starred_url":"https://api.github.com/users/behrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behrad/subscriptions","organizations_url":"https://api.github.com/users/behrad/orgs","repos_url":"https://api.github.com/users/behrad/repos","events_url":"https://api.github.com/users/behrad/events{/privacy}","received_events_url":"https://api.github.com/users/behrad/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T14:17:44Z","updated_at":"2016-10-17T14:17:44Z","body":"Good,\r\nWe can \r\n1) create a new HTTP/Socket API module\r\n2) Refactor https://github.com/stonecircle/kue-ui to use 1\r\n2) Drop current kue web ui in favor of https://github.com/stonecircle/kue-ui\r\n\r\nHave you commit right to https://github.com/stonecircle/kue-ui ? It seems no active recently."}}
{"actor":{"display_login":"behrad"}}