{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/marceloboeira/bojack/pulls/4","id":77614613,"html_url":"https://github.com/marceloboeira/bojack/pull/4","diff_url":"https://github.com/marceloboeira/bojack/pull/4.diff","patch_url":"https://github.com/marceloboeira/bojack/pull/4.patch","issue_url":"https://api.github.com/repos/marceloboeira/bojack/issues/4","number":4,"state":"open","locked":false,"title":"Fix 100% CPU usage","user":{"login":"hugoabonizio","id":1206395,"avatar_url":"https://avatars.githubusercontent.com/u/1206395?v=3","gravatar_id":"","url":"https://api.github.com/users/hugoabonizio","html_url":"https://github.com/hugoabonizio","followers_url":"https://api.github.com/users/hugoabonizio/followers","following_url":"https://api.github.com/users/hugoabonizio/following{/other_user}","gists_url":"https://api.github.com/users/hugoabonizio/gists{/gist_id}","starred_url":"https://api.github.com/users/hugoabonizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugoabonizio/subscriptions","organizations_url":"https://api.github.com/users/hugoabonizio/orgs","repos_url":"https://api.github.com/users/hugoabonizio/repos","events_url":"https://api.github.com/users/hugoabonizio/events{/privacy}","received_events_url":"https://api.github.com/users/hugoabonizio/received_events","type":"User","site_admin":false},"body":"To explain what was happening, this is the output of my telnet test:\r\n\r\n```\r\n$ telnet 127.0.0.1 5000\r\nTrying 127.0.0.1...\r\nConnected to 127.0.0.1.\r\nEscape character is '^]'.\r\nset a 324324\r\n324324\r\nget a\r\n324324\r\n^]\r\n\r\ntelnet> quit\r\nConnection closed.\r\n```\r\n\r\nAfter that, the server starts to loop forever reading nil from request. I think this change will fix #3.","created_at":"2016-07-15T13:22:03Z","updated_at":"2016-07-15T13:22:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/marceloboeira/bojack/pulls/4/commits","review_comments_url":"https://api.github.com/repos/marceloboeira/bojack/pulls/4/comments","review_comment_url":"https://api.github.com/repos/marceloboeira/bojack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marceloboeira/bojack/issues/4/comments","statuses_url":"https://api.github.com/repos/marceloboeira/bojack/statuses/a8318213a555c43df46b9d322047379c027e9853","head":{"label":"hugoabonizio:master","ref":"master","sha":"a8318213a555c43df46b9d322047379c027e9853","user":{"login":"hugoabonizio","id":1206395,"avatar_url":"https://avatars.githubusercontent.com/u/1206395?v=3","gravatar_id":"","url":"https://api.github.com/users/hugoabonizio","html_url":"https://github.com/hugoabonizio","followers_url":"https://api.github.com/users/hugoabonizio/followers","following_url":"https://api.github.com/users/hugoabonizio/following{/other_user}","gists_url":"https://api.github.com/users/hugoabonizio/gists{/gist_id}","starred_url":"https://api.github.com/users/hugoabonizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugoabonizio/subscriptions","organizations_url":"https://api.github.com/users/hugoabonizio/orgs","repos_url":"https://api.github.com/users/hugoabonizio/repos","events_url":"https://api.github.com/users/hugoabonizio/events{/privacy}","received_events_url":"https://api.github.com/users/hugoabonizio/received_events","type":"User","site_admin":false},"repo":{"id":63422864,"name":"bojack","full_name":"hugoabonizio/bojack","owner":{"login":"hugoabonizio","id":1206395,"avatar_url":"https://avatars.githubusercontent.com/u/1206395?v=3","gravatar_id":"","url":"https://api.github.com/users/hugoabonizio","html_url":"https://github.com/hugoabonizio","followers_url":"https://api.github.com/users/hugoabonizio/followers","following_url":"https://api.github.com/users/hugoabonizio/following{/other_user}","gists_url":"https://api.github.com/users/hugoabonizio/gists{/gist_id}","starred_url":"https://api.github.com/users/hugoabonizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugoabonizio/subscriptions","organizations_url":"https://api.github.com/users/hugoabonizio/orgs","repos_url":"https://api.github.com/users/hugoabonizio/repos","events_url":"https://api.github.com/users/hugoabonizio/events{/privacy}","received_events_url":"https://api.github.com/users/hugoabonizio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hugoabonizio/bojack","description":":horse: A non-reliable in-memory key-value store.","fork":true,"url":"https://api.github.com/repos/hugoabonizio/bojack","forks_url":"https://api.github.com/repos/hugoabonizio/bojack/forks","keys_url":"https://api.github.com/repos/hugoabonizio/bojack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hugoabonizio/bojack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hugoabonizio/bojack/teams","hooks_url":"https://api.github.com/repos/hugoabonizio/bojack/hooks","issue_events_url":"https://api.github.com/repos/hugoabonizio/bojack/issues/events{/number}","events_url":"https://api.github.com/repos/hugoabonizio/bojack/events","assignees_url":"https://api.github.com/repos/hugoabonizio/bojack/assignees{/user}","branches_url":"https://api.github.com/repos/hugoabonizio/bojack/branches{/branch}","tags_url":"https://api.github.com/repos/hugoabonizio/bojack/tags","blobs_url":"https://api.github.com/repos/hugoabonizio/bojack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hugoabonizio/bojack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hugoabonizio/bojack/git/refs{/sha}","trees_url":"https://api.github.com/repos/hugoabonizio/bojack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hugoabonizio/bojack/statuses/{sha}","languages_url":"https://api.github.com/repos/hugoabonizio/bojack/languages","stargazers_url":"https://api.github.com/repos/hugoabonizio/bojack/stargazers","contributors_url":"https://api.github.com/repos/hugoabonizio/bojack/contributors","subscribers_url":"https://api.github.com/repos/hugoabonizio/bojack/subscribers","subscription_url":"https://api.github.com/repos/hugoabonizio/bojack/subscription","commits_url":"https://api.github.com/repos/hugoabonizio/bojack/commits{/sha}","git_commits_url":"https://api.github.com/repos/hugoabonizio/bojack/git/commits{/sha}","comments_url":"https://api.github.com/repos/hugoabonizio/bojack/comments{/number}","issue_comment_url":"https://api.github.com/repos/hugoabonizio/bojack/issues/comments{/number}","contents_url":"https://api.github.com/repos/hugoabonizio/bojack/contents/{+path}","compare_url":"https://api.github.com/repos/hugoabonizio/bojack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hugoabonizio/bojack/merges","archive_url":"https://api.github.com/repos/hugoabonizio/bojack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hugoabonizio/bojack/downloads","issues_url":"https://api.github.com/repos/hugoabonizio/bojack/issues{/number}","pulls_url":"https://api.github.com/repos/hugoabonizio/bojack/pulls{/number}","milestones_url":"https://api.github.com/repos/hugoabonizio/bojack/milestones{/number}","notifications_url":"https://api.github.com/repos/hugoabonizio/bojack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hugoabonizio/bojack/labels{/name}","releases_url":"https://api.github.com/repos/hugoabonizio/bojack/releases{/id}","deployments_url":"https://api.github.com/repos/hugoabonizio/bojack/deployments","created_at":"2016-07-15T13:10:53Z","updated_at":"2016-07-15T13:10:54Z","pushed_at":"2016-07-15T13:17:46Z","git_url":"git://github.com/hugoabonizio/bojack.git","ssh_url":"git@github.com:hugoabonizio/bojack.git","clone_url":"https://github.com/hugoabonizio/bojack.git","svn_url":"https://github.com/hugoabonizio/bojack","homepage":"","size":324,"stargazers_count":0,"watchers_count":0,"language":"Crystal","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":"marceloboeira:master","ref":"master","sha":"dba2a76eba2e983c4d72ab2251252f53359ab361","user":{"login":"marceloboeira","id":1898225,"avatar_url":"https://avatars.githubusercontent.com/u/1898225?v=3","gravatar_id":"","url":"https://api.github.com/users/marceloboeira","html_url":"https://github.com/marceloboeira","followers_url":"https://api.github.com/users/marceloboeira/followers","following_url":"https://api.github.com/users/marceloboeira/following{/other_user}","gists_url":"https://api.github.com/users/marceloboeira/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloboeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloboeira/subscriptions","organizations_url":"https://api.github.com/users/marceloboeira/orgs","repos_url":"https://api.github.com/users/marceloboeira/repos","events_url":"https://api.github.com/users/marceloboeira/events{/privacy}","received_events_url":"https://api.github.com/users/marceloboeira/received_events","type":"User","site_admin":false},"repo":{"id":62980788,"name":"bojack","full_name":"marceloboeira/bojack","owner":{"login":"marceloboeira","id":1898225,"avatar_url":"https://avatars.githubusercontent.com/u/1898225?v=3","gravatar_id":"","url":"https://api.github.com/users/marceloboeira","html_url":"https://github.com/marceloboeira","followers_url":"https://api.github.com/users/marceloboeira/followers","following_url":"https://api.github.com/users/marceloboeira/following{/other_user}","gists_url":"https://api.github.com/users/marceloboeira/gists{/gist_id}","starred_url":"https://api.github.com/users/marceloboeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marceloboeira/subscriptions","organizations_url":"https://api.github.com/users/marceloboeira/orgs","repos_url":"https://api.github.com/users/marceloboeira/repos","events_url":"https://api.github.com/users/marceloboeira/events{/privacy}","received_events_url":"https://api.github.com/users/marceloboeira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marceloboeira/bojack","description":":horse: A non-reliable in-memory key-value store.","fork":false,"url":"https://api.github.com/repos/marceloboeira/bojack","forks_url":"https://api.github.com/repos/marceloboeira/bojack/forks","keys_url":"https://api.github.com/repos/marceloboeira/bojack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marceloboeira/bojack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marceloboeira/bojack/teams","hooks_url":"https://api.github.com/repos/marceloboeira/bojack/hooks","issue_events_url":"https://api.github.com/repos/marceloboeira/bojack/issues/events{/number}","events_url":"https://api.github.com/repos/marceloboeira/bojack/events","assignees_url":"https://api.github.com/repos/marceloboeira/bojack/assignees{/user}","branches_url":"https://api.github.com/repos/marceloboeira/bojack/branches{/branch}","tags_url":"https://api.github.com/repos/marceloboeira/bojack/tags","blobs_url":"https://api.github.com/repos/marceloboeira/bojack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marceloboeira/bojack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marceloboeira/bojack/git/refs{/sha}","trees_url":"https://api.github.com/repos/marceloboeira/bojack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marceloboeira/bojack/statuses/{sha}","languages_url":"https://api.github.com/repos/marceloboeira/bojack/languages","stargazers_url":"https://api.github.com/repos/marceloboeira/bojack/stargazers","contributors_url":"https://api.github.com/repos/marceloboeira/bojack/contributors","subscribers_url":"https://api.github.com/repos/marceloboeira/bojack/subscribers","subscription_url":"https://api.github.com/repos/marceloboeira/bojack/subscription","commits_url":"https://api.github.com/repos/marceloboeira/bojack/commits{/sha}","git_commits_url":"https://api.github.com/repos/marceloboeira/bojack/git/commits{/sha}","comments_url":"https://api.github.com/repos/marceloboeira/bojack/comments{/number}","issue_comment_url":"https://api.github.com/repos/marceloboeira/bojack/issues/comments{/number}","contents_url":"https://api.github.com/repos/marceloboeira/bojack/contents/{+path}","compare_url":"https://api.github.com/repos/marceloboeira/bojack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marceloboeira/bojack/merges","archive_url":"https://api.github.com/repos/marceloboeira/bojack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marceloboeira/bojack/downloads","issues_url":"https://api.github.com/repos/marceloboeira/bojack/issues{/number}","pulls_url":"https://api.github.com/repos/marceloboeira/bojack/pulls{/number}","milestones_url":"https://api.github.com/repos/marceloboeira/bojack/milestones{/number}","notifications_url":"https://api.github.com/repos/marceloboeira/bojack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marceloboeira/bojack/labels{/name}","releases_url":"https://api.github.com/repos/marceloboeira/bojack/releases{/id}","deployments_url":"https://api.github.com/repos/marceloboeira/bojack/deployments","created_at":"2016-07-10T04:04:44Z","updated_at":"2016-07-14T12:29:00Z","pushed_at":"2016-07-15T00:46:34Z","git_url":"git://github.com/marceloboeira/bojack.git","ssh_url":"git@github.com:marceloboeira/bojack.git","clone_url":"https://github.com/marceloboeira/bojack.git","svn_url":"https://github.com/marceloboeira/bojack","homepage":"","size":324,"stargazers_count":10,"watchers_count":10,"language":"Crystal","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marceloboeira/bojack/pulls/4"},"html":{"href":"https://github.com/marceloboeira/bojack/pull/4"},"issue":{"href":"https://api.github.com/repos/marceloboeira/bojack/issues/4"},"comments":{"href":"https://api.github.com/repos/marceloboeira/bojack/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/marceloboeira/bojack/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/marceloboeira/bojack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marceloboeira/bojack/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/marceloboeira/bojack/statuses/a8318213a555c43df46b9d322047379c027e9853"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":34,"changed_files":1}}
{"actor":{"display_login":"hugoabonizio"}}