{"action":"created","issue":{"url":"https://api.github.com/repos/xethorn/garcon/issues/40","labels_url":"https://api.github.com/repos/xethorn/garcon/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/xethorn/garcon/issues/40/comments","events_url":"https://api.github.com/repos/xethorn/garcon/issues/40/events","html_url":"https://github.com/xethorn/garcon/pull/40","id":68137934,"number":40,"title":"Add heartbeat.","user":{"login":"xethorn","id":1835927,"avatar_url":"https://avatars.githubusercontent.com/u/1835927?v=3","gravatar_id":"","url":"https://api.github.com/users/xethorn","html_url":"https://github.com/xethorn","followers_url":"https://api.github.com/users/xethorn/followers","following_url":"https://api.github.com/users/xethorn/following{/other_user}","gists_url":"https://api.github.com/users/xethorn/gists{/gist_id}","starred_url":"https://api.github.com/users/xethorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xethorn/subscriptions","organizations_url":"https://api.github.com/users/xethorn/orgs","repos_url":"https://api.github.com/users/xethorn/repos","events_url":"https://api.github.com/users/xethorn/events{/privacy}","received_events_url":"https://api.github.com/users/xethorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T16:27:18Z","updated_at":"2015-04-13T16:38:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xethorn/garcon/pulls/40","html_url":"https://github.com/xethorn/garcon/pull/40","diff_url":"https://github.com/xethorn/garcon/pull/40.diff","patch_url":"https://github.com/xethorn/garcon/pull/40.patch"},"body":"Heartbeat is set by default by AWS (to 600 seconds, which is\r\n10 minutes. If an activity last longer than 10 minutes but\r\ndoes not issue a heartbeat - SWF considers this activity has\r\nfailed.\r\n\r\nThe heartbeat mechanism works on our end at task level. We\r\ngather all the different heartbeats (if one activity misses\r\nthe heartbeat, it is set to the SWF default.) – and figure\r\nout which one is the longuest. We use this one as a\r\nreference for our task.\r\n\r\nAdditional notes:\r\n* Everytime an activity spawns a new task, the heartbeat is\r\ntriggered.\r\n* Everytime an activity finishes a task, a heartbeat is\r\ntriggered (this is for the async task runner.)\r\n\r\n@rantonmattei"},"comment":{"url":"https://api.github.com/repos/xethorn/garcon/issues/comments/92420521","html_url":"https://github.com/xethorn/garcon/pull/40#issuecomment-92420521","issue_url":"https://api.github.com/repos/xethorn/garcon/issues/40","id":92420521,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T16:38:49Z","updated_at":"2015-04-13T16:38:49Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2326796/badge)](https://coveralls.io/builds/2326796)\n\nCoverage increased (+0.43%) to 86.26% when pulling **3d879607ea036aa0f6acdb10fa4134885233c972 on mo-15-april-add-task-runner** into **b62437c7468c16faa94c3143a5ca02378ebece7a on master**.\n"}}