{"action":"created","issue":{"url":"https://api.github.com/repos/Financial-Times/next-myft-api/issues/152","labels_url":"https://api.github.com/repos/Financial-Times/next-myft-api/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/Financial-Times/next-myft-api/issues/152/comments","events_url":"https://api.github.com/repos/Financial-Times/next-myft-api/issues/152/events","html_url":"https://github.com/Financial-Times/next-myft-api/pull/152","id":128897285,"number":152,"title":"Start nodeIdToday job on init.","user":{"login":"phamann","id":80089,"avatar_url":"https://avatars.githubusercontent.com/u/80089?v=3","gravatar_id":"","url":"https://api.github.com/users/phamann","html_url":"https://github.com/phamann","followers_url":"https://api.github.com/users/phamann/followers","following_url":"https://api.github.com/users/phamann/following{/other_user}","gists_url":"https://api.github.com/users/phamann/gists{/gist_id}","starred_url":"https://api.github.com/users/phamann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamann/subscriptions","organizations_url":"https://api.github.com/users/phamann/orgs","repos_url":"https://api.github.com/users/phamann/repos","events_url":"https://api.github.com/users/phamann/events{/privacy}","received_events_url":"https://api.github.com/users/phamann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-26T18:12:02Z","updated_at":"2016-01-27T08:56:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/next-myft-api/pulls/152","html_url":"https://github.com/Financial-Times/next-myft-api/pull/152","diff_url":"https://github.com/Financial-Times/next-myft-api/pull/152.diff","patch_url":"https://github.com/Financial-Times/next-myft-api/pull/152.patch"},"body":"The job wasn't starting on init and thus most likely we had requests with empty node Ids. This could have caused all requests to take a long time...\r\n\r\nSee docs for further info:\r\nhttps://github.com/ncb000gt/node-cron#api\r\n\r\n/cc @laurieboyes "},"comment":{"url":"https://api.github.com/repos/Financial-Times/next-myft-api/issues/comments/175492945","html_url":"https://github.com/Financial-Times/next-myft-api/pull/152#issuecomment-175492945","issue_url":"https://api.github.com/repos/Financial-Times/next-myft-api/issues/152","id":175492945,"user":{"login":"laurieboyes","id":4622378,"avatar_url":"https://avatars.githubusercontent.com/u/4622378?v=3","gravatar_id":"","url":"https://api.github.com/users/laurieboyes","html_url":"https://github.com/laurieboyes","followers_url":"https://api.github.com/users/laurieboyes/followers","following_url":"https://api.github.com/users/laurieboyes/following{/other_user}","gists_url":"https://api.github.com/users/laurieboyes/gists{/gist_id}","starred_url":"https://api.github.com/users/laurieboyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurieboyes/subscriptions","organizations_url":"https://api.github.com/users/laurieboyes/orgs","repos_url":"https://api.github.com/users/laurieboyes/repos","events_url":"https://api.github.com/users/laurieboyes/events{/privacy}","received_events_url":"https://api.github.com/users/laurieboyes/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T08:56:55Z","updated_at":"2016-01-27T08:56:55Z","body":"Also, very strange, I definitely tested this with a cronstring for every minute and found it was running: https://github.com/Financial-Times/next-myft-api/blob/67b04b1512036c7d00b65bfee20bfeab0c542eb4/jobs/node-id-today.js#L42-L48\r\nUnless the waters were muddied by the fact that I mistakenly had it as its own job in the procfile (???)"}}