{"action":"created","issue":{"url":"https://api.github.com/repos/googollee/go-engine.io/issues/31","labels_url":"https://api.github.com/repos/googollee/go-engine.io/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/googollee/go-engine.io/issues/31/comments","events_url":"https://api.github.com/repos/googollee/go-engine.io/issues/31/events","html_url":"https://github.com/googollee/go-engine.io/pull/31","id":100798080,"number":31,"title":"added Count() to Server to view total connections","user":{"login":"DisruptiveMind","id":95763,"avatar_url":"https://avatars.githubusercontent.com/u/95763?v=3","gravatar_id":"","url":"https://api.github.com/users/DisruptiveMind","html_url":"https://github.com/DisruptiveMind","followers_url":"https://api.github.com/users/DisruptiveMind/followers","following_url":"https://api.github.com/users/DisruptiveMind/following{/other_user}","gists_url":"https://api.github.com/users/DisruptiveMind/gists{/gist_id}","starred_url":"https://api.github.com/users/DisruptiveMind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DisruptiveMind/subscriptions","organizations_url":"https://api.github.com/users/DisruptiveMind/orgs","repos_url":"https://api.github.com/users/DisruptiveMind/repos","events_url":"https://api.github.com/users/DisruptiveMind/events{/privacy}","received_events_url":"https://api.github.com/users/DisruptiveMind/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T15:24:01Z","updated_at":"2015-09-20T14:00:30Z","closed_at":"2015-09-20T11:15:37Z","pull_request":{"url":"https://api.github.com/repos/googollee/go-engine.io/pulls/31","html_url":"https://github.com/googollee/go-engine.io/pull/31","diff_url":"https://github.com/googollee/go-engine.io/pull/31.diff","patch_url":"https://github.com/googollee/go-engine.io/pull/31.patch"},"body":"Previous PR (#30) used Count() on sessions and len() to get that count. This PR uses Server.currentConnections to atomically get the count."},"comment":{"url":"https://api.github.com/repos/googollee/go-engine.io/issues/comments/141786677","html_url":"https://github.com/googollee/go-engine.io/pull/31#issuecomment-141786677","issue_url":"https://api.github.com/repos/googollee/go-engine.io/issues/31","id":141786677,"user":{"login":"DisruptiveMind","id":95763,"avatar_url":"https://avatars.githubusercontent.com/u/95763?v=3","gravatar_id":"","url":"https://api.github.com/users/DisruptiveMind","html_url":"https://github.com/DisruptiveMind","followers_url":"https://api.github.com/users/DisruptiveMind/followers","following_url":"https://api.github.com/users/DisruptiveMind/following{/other_user}","gists_url":"https://api.github.com/users/DisruptiveMind/gists{/gist_id}","starred_url":"https://api.github.com/users/DisruptiveMind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DisruptiveMind/subscriptions","organizations_url":"https://api.github.com/users/DisruptiveMind/orgs","repos_url":"https://api.github.com/users/DisruptiveMind/repos","events_url":"https://api.github.com/users/DisruptiveMind/events{/privacy}","received_events_url":"https://api.github.com/users/DisruptiveMind/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T14:00:30Z","updated_at":"2015-09-20T14:00:30Z","body":"I'll be submitting a PR for go-socket.io including this change soon\n\n\nCheers,\n\nTyler Pham\nCode+Graphics\ntyler@disruptiveart.com\n\n> On Sep 20, 2015, at 7:15 AM, Googol Lee <notifications@github.com> wrote:\n> \n> Merged #31.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}