{"action":"created","comment":{"url":"https://api.github.com/repos/edgurgel/poxa/pulls/comments/56111807","id":56111807,"diff_hunk":"@@ -3,20 +3,23 @@ defmodule Poxa.Supervisor do\n \n   @doc false\n   def start_link do\n-    :supervisor.start_link({:local, __MODULE__}, __MODULE__, [])\n+    Supervisor.start_link(__MODULE__, [])","path":"lib/poxa/supervisor.ex","position":5,"original_position":5,"commit_id":"38d4990d53c62807a5104839a38778776666b40b","original_commit_id":"38d4990d53c62807a5104839a38778776666b40b","user":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2016-03-15T03:42:08Z","updated_at":"2016-03-15T03:42:08Z","html_url":"https://github.com/edgurgel/poxa/pull/72#discussion_r56111807","pull_request_url":"https://api.github.com/repos/edgurgel/poxa/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/edgurgel/poxa/pulls/comments/56111807"},"html":{"href":"https://github.com/edgurgel/poxa/pull/72#discussion_r56111807"},"pull_request":{"href":"https://api.github.com/repos/edgurgel/poxa/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/edgurgel/poxa/pulls/72","id":62468515,"html_url":"https://github.com/edgurgel/poxa/pull/72","diff_url":"https://github.com/edgurgel/poxa/pull/72.diff","patch_url":"https://github.com/edgurgel/poxa/pull/72.patch","issue_url":"https://api.github.com/repos/edgurgel/poxa/issues/72","number":72,"state":"open","locked":false,"title":"Batched web hook requests and delayed events","user":{"login":"iurifq","id":2074433,"avatar_url":"https://avatars.githubusercontent.com/u/2074433?v=3","gravatar_id":"","url":"https://api.github.com/users/iurifq","html_url":"https://github.com/iurifq","followers_url":"https://api.github.com/users/iurifq/followers","following_url":"https://api.github.com/users/iurifq/following{/other_user}","gists_url":"https://api.github.com/users/iurifq/gists{/gist_id}","starred_url":"https://api.github.com/users/iurifq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iurifq/subscriptions","organizations_url":"https://api.github.com/users/iurifq/orgs","repos_url":"https://api.github.com/users/iurifq/repos","events_url":"https://api.github.com/users/iurifq/events{/privacy}","received_events_url":"https://api.github.com/users/iurifq/received_events","type":"User","site_admin":false},"body":"This implements accumulating web hook events and sending them in batches #68 and also delaying some events #67. I also renamed and reorganized the web hook related files into the WebHook module.\r\n\r\nIMO the only thing still missing from the web hook implementation is a better error handling and retry mechanism of the web hook requests.","created_at":"2016-03-10T22:39:52Z","updated_at":"2016-03-15T03:42:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f168753aed41ed0f9e2de6a83743dad8f7d01d62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edgurgel/poxa/pulls/72/commits","review_comments_url":"https://api.github.com/repos/edgurgel/poxa/pulls/72/comments","review_comment_url":"https://api.github.com/repos/edgurgel/poxa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edgurgel/poxa/issues/72/comments","statuses_url":"https://api.github.com/repos/edgurgel/poxa/statuses/38d4990d53c62807a5104839a38778776666b40b","head":{"label":"edgurgel:batched_web_hooks","ref":"batched_web_hooks","sha":"38d4990d53c62807a5104839a38778776666b40b","user":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"repo":{"id":10395784,"name":"poxa","full_name":"edgurgel/poxa","owner":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edgurgel/poxa","description":"Pusher server implementation compatible with Pusher client libraries.","fork":false,"url":"https://api.github.com/repos/edgurgel/poxa","forks_url":"https://api.github.com/repos/edgurgel/poxa/forks","keys_url":"https://api.github.com/repos/edgurgel/poxa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgurgel/poxa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgurgel/poxa/teams","hooks_url":"https://api.github.com/repos/edgurgel/poxa/hooks","issue_events_url":"https://api.github.com/repos/edgurgel/poxa/issues/events{/number}","events_url":"https://api.github.com/repos/edgurgel/poxa/events","assignees_url":"https://api.github.com/repos/edgurgel/poxa/assignees{/user}","branches_url":"https://api.github.com/repos/edgurgel/poxa/branches{/branch}","tags_url":"https://api.github.com/repos/edgurgel/poxa/tags","blobs_url":"https://api.github.com/repos/edgurgel/poxa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgurgel/poxa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgurgel/poxa/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgurgel/poxa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgurgel/poxa/statuses/{sha}","languages_url":"https://api.github.com/repos/edgurgel/poxa/languages","stargazers_url":"https://api.github.com/repos/edgurgel/poxa/stargazers","contributors_url":"https://api.github.com/repos/edgurgel/poxa/contributors","subscribers_url":"https://api.github.com/repos/edgurgel/poxa/subscribers","subscription_url":"https://api.github.com/repos/edgurgel/poxa/subscription","commits_url":"https://api.github.com/repos/edgurgel/poxa/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgurgel/poxa/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgurgel/poxa/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgurgel/poxa/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgurgel/poxa/contents/{+path}","compare_url":"https://api.github.com/repos/edgurgel/poxa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgurgel/poxa/merges","archive_url":"https://api.github.com/repos/edgurgel/poxa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgurgel/poxa/downloads","issues_url":"https://api.github.com/repos/edgurgel/poxa/issues{/number}","pulls_url":"https://api.github.com/repos/edgurgel/poxa/pulls{/number}","milestones_url":"https://api.github.com/repos/edgurgel/poxa/milestones{/number}","notifications_url":"https://api.github.com/repos/edgurgel/poxa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgurgel/poxa/labels{/name}","releases_url":"https://api.github.com/repos/edgurgel/poxa/releases{/id}","deployments_url":"https://api.github.com/repos/edgurgel/poxa/deployments","created_at":"2013-05-31T01:44:30Z","updated_at":"2016-03-14T17:57:15Z","pushed_at":"2016-03-14T19:31:34Z","git_url":"git://github.com/edgurgel/poxa.git","ssh_url":"git@github.com:edgurgel/poxa.git","clone_url":"https://github.com/edgurgel/poxa.git","svn_url":"https://github.com/edgurgel/poxa","homepage":"http://poxa.herokuapp.com/","size":530,"stargazers_count":457,"watchers_count":457,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":11,"forks":29,"open_issues":11,"watchers":457,"default_branch":"master"}},"base":{"label":"edgurgel:master","ref":"master","sha":"424e32da222285983ab5e6a19683227726065b6f","user":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"repo":{"id":10395784,"name":"poxa","full_name":"edgurgel/poxa","owner":{"login":"edgurgel","id":30873,"avatar_url":"https://avatars.githubusercontent.com/u/30873?v=3","gravatar_id":"","url":"https://api.github.com/users/edgurgel","html_url":"https://github.com/edgurgel","followers_url":"https://api.github.com/users/edgurgel/followers","following_url":"https://api.github.com/users/edgurgel/following{/other_user}","gists_url":"https://api.github.com/users/edgurgel/gists{/gist_id}","starred_url":"https://api.github.com/users/edgurgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgurgel/subscriptions","organizations_url":"https://api.github.com/users/edgurgel/orgs","repos_url":"https://api.github.com/users/edgurgel/repos","events_url":"https://api.github.com/users/edgurgel/events{/privacy}","received_events_url":"https://api.github.com/users/edgurgel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edgurgel/poxa","description":"Pusher server implementation compatible with Pusher client libraries.","fork":false,"url":"https://api.github.com/repos/edgurgel/poxa","forks_url":"https://api.github.com/repos/edgurgel/poxa/forks","keys_url":"https://api.github.com/repos/edgurgel/poxa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edgurgel/poxa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edgurgel/poxa/teams","hooks_url":"https://api.github.com/repos/edgurgel/poxa/hooks","issue_events_url":"https://api.github.com/repos/edgurgel/poxa/issues/events{/number}","events_url":"https://api.github.com/repos/edgurgel/poxa/events","assignees_url":"https://api.github.com/repos/edgurgel/poxa/assignees{/user}","branches_url":"https://api.github.com/repos/edgurgel/poxa/branches{/branch}","tags_url":"https://api.github.com/repos/edgurgel/poxa/tags","blobs_url":"https://api.github.com/repos/edgurgel/poxa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edgurgel/poxa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edgurgel/poxa/git/refs{/sha}","trees_url":"https://api.github.com/repos/edgurgel/poxa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edgurgel/poxa/statuses/{sha}","languages_url":"https://api.github.com/repos/edgurgel/poxa/languages","stargazers_url":"https://api.github.com/repos/edgurgel/poxa/stargazers","contributors_url":"https://api.github.com/repos/edgurgel/poxa/contributors","subscribers_url":"https://api.github.com/repos/edgurgel/poxa/subscribers","subscription_url":"https://api.github.com/repos/edgurgel/poxa/subscription","commits_url":"https://api.github.com/repos/edgurgel/poxa/commits{/sha}","git_commits_url":"https://api.github.com/repos/edgurgel/poxa/git/commits{/sha}","comments_url":"https://api.github.com/repos/edgurgel/poxa/comments{/number}","issue_comment_url":"https://api.github.com/repos/edgurgel/poxa/issues/comments{/number}","contents_url":"https://api.github.com/repos/edgurgel/poxa/contents/{+path}","compare_url":"https://api.github.com/repos/edgurgel/poxa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edgurgel/poxa/merges","archive_url":"https://api.github.com/repos/edgurgel/poxa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edgurgel/poxa/downloads","issues_url":"https://api.github.com/repos/edgurgel/poxa/issues{/number}","pulls_url":"https://api.github.com/repos/edgurgel/poxa/pulls{/number}","milestones_url":"https://api.github.com/repos/edgurgel/poxa/milestones{/number}","notifications_url":"https://api.github.com/repos/edgurgel/poxa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edgurgel/poxa/labels{/name}","releases_url":"https://api.github.com/repos/edgurgel/poxa/releases{/id}","deployments_url":"https://api.github.com/repos/edgurgel/poxa/deployments","created_at":"2013-05-31T01:44:30Z","updated_at":"2016-03-14T17:57:15Z","pushed_at":"2016-03-14T19:31:34Z","git_url":"git://github.com/edgurgel/poxa.git","ssh_url":"git@github.com:edgurgel/poxa.git","clone_url":"https://github.com/edgurgel/poxa.git","svn_url":"https://github.com/edgurgel/poxa","homepage":"http://poxa.herokuapp.com/","size":530,"stargazers_count":457,"watchers_count":457,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":11,"forks":29,"open_issues":11,"watchers":457,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edgurgel/poxa/pulls/72"},"html":{"href":"https://github.com/edgurgel/poxa/pull/72"},"issue":{"href":"https://api.github.com/repos/edgurgel/poxa/issues/72"},"comments":{"href":"https://api.github.com/repos/edgurgel/poxa/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/edgurgel/poxa/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/edgurgel/poxa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edgurgel/poxa/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/edgurgel/poxa/statuses/38d4990d53c62807a5104839a38778776666b40b"}}}}