{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/puzza007/katja/pulls/2","id":28355632,"html_url":"https://github.com/puzza007/katja/pull/2","diff_url":"https://github.com/puzza007/katja/pull/2.diff","patch_url":"https://github.com/puzza007/katja/pull/2.patch","issue_url":"https://api.github.com/repos/puzza007/katja/issues/2","number":2,"state":"open","locked":false,"title":"Make the recv timeout shorter than the gen_server timeout","user":{"login":"puzza007","id":1278,"avatar_url":"https://avatars.githubusercontent.com/u/1278?v=3","gravatar_id":"","url":"https://api.github.com/users/puzza007","html_url":"https://github.com/puzza007","followers_url":"https://api.github.com/users/puzza007/followers","following_url":"https://api.github.com/users/puzza007/following{/other_user}","gists_url":"https://api.github.com/users/puzza007/gists{/gist_id}","starred_url":"https://api.github.com/users/puzza007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzza007/subscriptions","organizations_url":"https://api.github.com/users/puzza007/orgs","repos_url":"https://api.github.com/users/puzza007/repos","events_url":"https://api.github.com/users/puzza007/events{/privacy}","received_events_url":"https://api.github.com/users/puzza007/received_events","type":"User","site_admin":false},"body":"This avoids exceptions.  Ideally I'd like to make all the gen_server\r\ncalls have infinite timeouts and rely on the underlying gen_(tcp|udp)\r\ntimeouts but that's a bit more work.\r\n\r\ncc @AeroNotix","created_at":"2015-01-30T11:46:06Z","updated_at":"2015-01-30T11:46:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puzza007/katja/pulls/2/commits","review_comments_url":"https://api.github.com/repos/puzza007/katja/pulls/2/comments","review_comment_url":"https://api.github.com/repos/puzza007/katja/pulls/comments/{number}","comments_url":"https://api.github.com/repos/puzza007/katja/issues/2/comments","statuses_url":"https://api.github.com/repos/puzza007/katja/statuses/a35d0eeba9226c42a07b8e32b70b7ab26f54d382","head":{"label":"puzza007:avoid-gen-server-timeout","ref":"avoid-gen-server-timeout","sha":"a35d0eeba9226c42a07b8e32b70b7ab26f54d382","user":{"login":"puzza007","id":1278,"avatar_url":"https://avatars.githubusercontent.com/u/1278?v=3","gravatar_id":"","url":"https://api.github.com/users/puzza007","html_url":"https://github.com/puzza007","followers_url":"https://api.github.com/users/puzza007/followers","following_url":"https://api.github.com/users/puzza007/following{/other_user}","gists_url":"https://api.github.com/users/puzza007/gists{/gist_id}","starred_url":"https://api.github.com/users/puzza007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzza007/subscriptions","organizations_url":"https://api.github.com/users/puzza007/orgs","repos_url":"https://api.github.com/users/puzza007/repos","events_url":"https://api.github.com/users/puzza007/events{/privacy}","received_events_url":"https://api.github.com/users/puzza007/received_events","type":"User","site_admin":false},"repo":{"id":29134387,"name":"katja","full_name":"puzza007/katja","owner":{"login":"puzza007","id":1278,"avatar_url":"https://avatars.githubusercontent.com/u/1278?v=3","gravatar_id":"","url":"https://api.github.com/users/puzza007","html_url":"https://github.com/puzza007","followers_url":"https://api.github.com/users/puzza007/followers","following_url":"https://api.github.com/users/puzza007/following{/other_user}","gists_url":"https://api.github.com/users/puzza007/gists{/gist_id}","starred_url":"https://api.github.com/users/puzza007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzza007/subscriptions","organizations_url":"https://api.github.com/users/puzza007/orgs","repos_url":"https://api.github.com/users/puzza007/repos","events_url":"https://api.github.com/users/puzza007/events{/privacy}","received_events_url":"https://api.github.com/users/puzza007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/puzza007/katja","description":"A simple Riemann client written in Erlang.","fork":true,"url":"https://api.github.com/repos/puzza007/katja","forks_url":"https://api.github.com/repos/puzza007/katja/forks","keys_url":"https://api.github.com/repos/puzza007/katja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puzza007/katja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puzza007/katja/teams","hooks_url":"https://api.github.com/repos/puzza007/katja/hooks","issue_events_url":"https://api.github.com/repos/puzza007/katja/issues/events{/number}","events_url":"https://api.github.com/repos/puzza007/katja/events","assignees_url":"https://api.github.com/repos/puzza007/katja/assignees{/user}","branches_url":"https://api.github.com/repos/puzza007/katja/branches{/branch}","tags_url":"https://api.github.com/repos/puzza007/katja/tags","blobs_url":"https://api.github.com/repos/puzza007/katja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puzza007/katja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puzza007/katja/git/refs{/sha}","trees_url":"https://api.github.com/repos/puzza007/katja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puzza007/katja/statuses/{sha}","languages_url":"https://api.github.com/repos/puzza007/katja/languages","stargazers_url":"https://api.github.com/repos/puzza007/katja/stargazers","contributors_url":"https://api.github.com/repos/puzza007/katja/contributors","subscribers_url":"https://api.github.com/repos/puzza007/katja/subscribers","subscription_url":"https://api.github.com/repos/puzza007/katja/subscription","commits_url":"https://api.github.com/repos/puzza007/katja/commits{/sha}","git_commits_url":"https://api.github.com/repos/puzza007/katja/git/commits{/sha}","comments_url":"https://api.github.com/repos/puzza007/katja/comments{/number}","issue_comment_url":"https://api.github.com/repos/puzza007/katja/issues/comments/{number}","contents_url":"https://api.github.com/repos/puzza007/katja/contents/{+path}","compare_url":"https://api.github.com/repos/puzza007/katja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puzza007/katja/merges","archive_url":"https://api.github.com/repos/puzza007/katja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puzza007/katja/downloads","issues_url":"https://api.github.com/repos/puzza007/katja/issues{/number}","pulls_url":"https://api.github.com/repos/puzza007/katja/pulls{/number}","milestones_url":"https://api.github.com/repos/puzza007/katja/milestones{/number}","notifications_url":"https://api.github.com/repos/puzza007/katja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puzza007/katja/labels{/name}","releases_url":"https://api.github.com/repos/puzza007/katja/releases{/id}","created_at":"2015-01-12T12:27:59Z","updated_at":"2015-01-29T08:43:59Z","pushed_at":"2015-01-29T08:54:19Z","git_url":"git://github.com/puzza007/katja.git","ssh_url":"git@github.com:puzza007/katja.git","clone_url":"https://github.com/puzza007/katja.git","svn_url":"https://github.com/puzza007/katja","homepage":"http://katja.nifoc.pw","size":411,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"puzza007:master","ref":"master","sha":"69b3dc2d3aa194b8f8816432502932a6bc9d1236","user":{"login":"puzza007","id":1278,"avatar_url":"https://avatars.githubusercontent.com/u/1278?v=3","gravatar_id":"","url":"https://api.github.com/users/puzza007","html_url":"https://github.com/puzza007","followers_url":"https://api.github.com/users/puzza007/followers","following_url":"https://api.github.com/users/puzza007/following{/other_user}","gists_url":"https://api.github.com/users/puzza007/gists{/gist_id}","starred_url":"https://api.github.com/users/puzza007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzza007/subscriptions","organizations_url":"https://api.github.com/users/puzza007/orgs","repos_url":"https://api.github.com/users/puzza007/repos","events_url":"https://api.github.com/users/puzza007/events{/privacy}","received_events_url":"https://api.github.com/users/puzza007/received_events","type":"User","site_admin":false},"repo":{"id":29134387,"name":"katja","full_name":"puzza007/katja","owner":{"login":"puzza007","id":1278,"avatar_url":"https://avatars.githubusercontent.com/u/1278?v=3","gravatar_id":"","url":"https://api.github.com/users/puzza007","html_url":"https://github.com/puzza007","followers_url":"https://api.github.com/users/puzza007/followers","following_url":"https://api.github.com/users/puzza007/following{/other_user}","gists_url":"https://api.github.com/users/puzza007/gists{/gist_id}","starred_url":"https://api.github.com/users/puzza007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puzza007/subscriptions","organizations_url":"https://api.github.com/users/puzza007/orgs","repos_url":"https://api.github.com/users/puzza007/repos","events_url":"https://api.github.com/users/puzza007/events{/privacy}","received_events_url":"https://api.github.com/users/puzza007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/puzza007/katja","description":"A simple Riemann client written in Erlang.","fork":true,"url":"https://api.github.com/repos/puzza007/katja","forks_url":"https://api.github.com/repos/puzza007/katja/forks","keys_url":"https://api.github.com/repos/puzza007/katja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puzza007/katja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puzza007/katja/teams","hooks_url":"https://api.github.com/repos/puzza007/katja/hooks","issue_events_url":"https://api.github.com/repos/puzza007/katja/issues/events{/number}","events_url":"https://api.github.com/repos/puzza007/katja/events","assignees_url":"https://api.github.com/repos/puzza007/katja/assignees{/user}","branches_url":"https://api.github.com/repos/puzza007/katja/branches{/branch}","tags_url":"https://api.github.com/repos/puzza007/katja/tags","blobs_url":"https://api.github.com/repos/puzza007/katja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puzza007/katja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puzza007/katja/git/refs{/sha}","trees_url":"https://api.github.com/repos/puzza007/katja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puzza007/katja/statuses/{sha}","languages_url":"https://api.github.com/repos/puzza007/katja/languages","stargazers_url":"https://api.github.com/repos/puzza007/katja/stargazers","contributors_url":"https://api.github.com/repos/puzza007/katja/contributors","subscribers_url":"https://api.github.com/repos/puzza007/katja/subscribers","subscription_url":"https://api.github.com/repos/puzza007/katja/subscription","commits_url":"https://api.github.com/repos/puzza007/katja/commits{/sha}","git_commits_url":"https://api.github.com/repos/puzza007/katja/git/commits{/sha}","comments_url":"https://api.github.com/repos/puzza007/katja/comments{/number}","issue_comment_url":"https://api.github.com/repos/puzza007/katja/issues/comments/{number}","contents_url":"https://api.github.com/repos/puzza007/katja/contents/{+path}","compare_url":"https://api.github.com/repos/puzza007/katja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puzza007/katja/merges","archive_url":"https://api.github.com/repos/puzza007/katja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puzza007/katja/downloads","issues_url":"https://api.github.com/repos/puzza007/katja/issues{/number}","pulls_url":"https://api.github.com/repos/puzza007/katja/pulls{/number}","milestones_url":"https://api.github.com/repos/puzza007/katja/milestones{/number}","notifications_url":"https://api.github.com/repos/puzza007/katja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puzza007/katja/labels{/name}","releases_url":"https://api.github.com/repos/puzza007/katja/releases{/id}","created_at":"2015-01-12T12:27:59Z","updated_at":"2015-01-29T08:43:59Z","pushed_at":"2015-01-29T08:54:19Z","git_url":"git://github.com/puzza007/katja.git","ssh_url":"git@github.com:puzza007/katja.git","clone_url":"https://github.com/puzza007/katja.git","svn_url":"https://github.com/puzza007/katja","homepage":"http://katja.nifoc.pw","size":411,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puzza007/katja/pulls/2"},"html":{"href":"https://github.com/puzza007/katja/pull/2"},"issue":{"href":"https://api.github.com/repos/puzza007/katja/issues/2"},"comments":{"href":"https://api.github.com/repos/puzza007/katja/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/puzza007/katja/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/puzza007/katja/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/puzza007/katja/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/puzza007/katja/statuses/a35d0eeba9226c42a07b8e32b70b7ab26f54d382"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}