{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/4","id":31996355,"html_url":"https://github.com/cozy/cozy-realtime-adapter/pull/4","diff_url":"https://github.com/cozy/cozy-realtime-adapter/pull/4.diff","patch_url":"https://github.com/cozy/cozy-realtime-adapter/pull/4.patch","issue_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues/4","number":4,"state":"closed","locked":false,"title":"Fixed: prevent reconnection attempt if there was a connection error","user":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"body":"Following the issue we noticed when the connection is lost, socket.io becomes crazy and spams connection attempts.\r\n\r\nI made a fix based on https://github.com/Automattic/socket.io-client/issues/737#issuecomment-61381603.\r\n\r\nThis PR is not built.","created_at":"2015-03-26T08:10:00Z","updated_at":"2015-03-26T08:55:38Z","closed_at":"2015-03-26T08:55:38Z","merged_at":"2015-03-26T08:55:38Z","merge_commit_sha":"b7549f09b0199611dea56e7665e5effa77a1a580","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/4/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/4/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues/4/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/statuses/049b29a39b401603bf3b66d71cb8941817701a41","head":{"label":"jsilvestre:master","ref":"master","sha":"049b29a39b401603bf3b66d71cb8941817701a41","user":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"repo":{"id":31365452,"name":"cozy-realtime-adapter","full_name":"jsilvestre/cozy-realtime-adapter","owner":{"login":"jsilvestre","id":568111,"avatar_url":"https://avatars.githubusercontent.com/u/568111?v=3","gravatar_id":"","url":"https://api.github.com/users/jsilvestre","html_url":"https://github.com/jsilvestre","followers_url":"https://api.github.com/users/jsilvestre/followers","following_url":"https://api.github.com/users/jsilvestre/following{/other_user}","gists_url":"https://api.github.com/users/jsilvestre/gists{/gist_id}","starred_url":"https://api.github.com/users/jsilvestre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsilvestre/subscriptions","organizations_url":"https://api.github.com/users/jsilvestre/orgs","repos_url":"https://api.github.com/users/jsilvestre/repos","events_url":"https://api.github.com/users/jsilvestre/events{/privacy}","received_events_url":"https://api.github.com/users/jsilvestre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsilvestre/cozy-realtime-adapter","description":"Utilities to manage realtime events in Cozy Applications","fork":true,"url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter","forks_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/forks","keys_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/teams","hooks_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/hooks","issue_events_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/events","assignees_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/tags","blobs_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/languages","stargazers_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/stargazers","contributors_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/contributors","subscribers_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/subscribers","subscription_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/subscription","commits_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/merges","archive_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/downloads","issues_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/labels{/name}","releases_url":"https://api.github.com/repos/jsilvestre/cozy-realtime-adapter/releases{/id}","created_at":"2015-02-26T12:14:58Z","updated_at":"2015-03-26T08:44:09Z","pushed_at":"2015-03-26T08:44:08Z","git_url":"git://github.com/jsilvestre/cozy-realtime-adapter.git","ssh_url":"git@github.com:jsilvestre/cozy-realtime-adapter.git","clone_url":"https://github.com/jsilvestre/cozy-realtime-adapter.git","svn_url":"https://github.com/jsilvestre/cozy-realtime-adapter","homepage":"","size":122,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cozy:master","ref":"master","sha":"bb7f69e4da76c06b180256ca0ddc6a16b1778059","user":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":9693091,"name":"cozy-realtime-adapter","full_name":"cozy/cozy-realtime-adapter","owner":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-realtime-adapter","description":"Utilities to manage realtime events in Cozy Applications","fork":true,"url":"https://api.github.com/repos/cozy/cozy-realtime-adapter","forks_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/forks","keys_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/events","assignees_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/merges","archive_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-realtime-adapter/releases{/id}","created_at":"2013-04-26T10:48:44Z","updated_at":"2015-03-26T08:55:38Z","pushed_at":"2015-03-26T08:55:38Z","git_url":"git://github.com/cozy/cozy-realtime-adapter.git","ssh_url":"git@github.com:cozy/cozy-realtime-adapter.git","clone_url":"https://github.com/cozy/cozy-realtime-adapter.git","svn_url":"https://github.com/cozy/cozy-realtime-adapter","homepage":"","size":264,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/4"},"html":{"href":"https://github.com/cozy/cozy-realtime-adapter/pull/4"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues/4"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-realtime-adapter/statuses/049b29a39b401603bf3b66d71cb8941817701a41"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aenario","id":1580287,"avatar_url":"https://avatars.githubusercontent.com/u/1580287?v=3","gravatar_id":"","url":"https://api.github.com/users/aenario","html_url":"https://github.com/aenario","followers_url":"https://api.github.com/users/aenario/followers","following_url":"https://api.github.com/users/aenario/following{/other_user}","gists_url":"https://api.github.com/users/aenario/gists{/gist_id}","starred_url":"https://api.github.com/users/aenario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aenario/subscriptions","organizations_url":"https://api.github.com/users/aenario/orgs","repos_url":"https://api.github.com/users/aenario/repos","events_url":"https://api.github.com/users/aenario/events{/privacy}","received_events_url":"https://api.github.com/users/aenario/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":2,"additions":7,"deletions":0,"changed_files":2}}