{"action":"opened","number":435,"pull_request":{"url":"https://api.github.com/repos/thumbor/thumbor/pulls/435","id":30912000,"html_url":"https://github.com/thumbor/thumbor/pull/435","diff_url":"https://github.com/thumbor/thumbor/pull/435.diff","patch_url":"https://github.com/thumbor/thumbor/pull/435.patch","issue_url":"https://api.github.com/repos/thumbor/thumbor/issues/435","number":435,"state":"open","locked":false,"title":"Fix StatsD client so it doesn't do a lot of DNS lookups","user":{"login":"kevin1024","id":21099,"avatar_url":"https://avatars.githubusercontent.com/u/21099?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin1024","html_url":"https://github.com/kevin1024","followers_url":"https://api.github.com/users/kevin1024/followers","following_url":"https://api.github.com/users/kevin1024/following{/other_user}","gists_url":"https://api.github.com/users/kevin1024/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin1024/subscriptions","organizations_url":"https://api.github.com/users/kevin1024/orgs","repos_url":"https://api.github.com/users/kevin1024/repos","events_url":"https://api.github.com/users/kevin1024/events{/privacy}","received_events_url":"https://api.github.com/users/kevin1024/received_events","type":"User","site_admin":false},"body":"The DNS lookups in the StatsD client use a blocking getaddrinfo call.\r\n\r\nThis change keeps the instance of the StatsD client around so it won't\r\nhave to look up DNS over and over again, so it won't block the IOLoop.\r\n\r\nAlso cleaned up some whitespace in the ThumborStatsClient class.","created_at":"2015-03-11T02:57:19Z","updated_at":"2015-03-11T02:57:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thumbor/thumbor/pulls/435/commits","review_comments_url":"https://api.github.com/repos/thumbor/thumbor/pulls/435/comments","review_comment_url":"https://api.github.com/repos/thumbor/thumbor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thumbor/thumbor/issues/435/comments","statuses_url":"https://api.github.com/repos/thumbor/thumbor/statuses/4dff037a29adf264a87084803d558741c5ae3dd0","head":{"label":"RealGeeks:statsd-async","ref":"statsd-async","sha":"4dff037a29adf264a87084803d558741c5ae3dd0","user":{"login":"RealGeeks","id":617838,"avatar_url":"https://avatars.githubusercontent.com/u/617838?v=3","gravatar_id":"","url":"https://api.github.com/users/RealGeeks","html_url":"https://github.com/RealGeeks","followers_url":"https://api.github.com/users/RealGeeks/followers","following_url":"https://api.github.com/users/RealGeeks/following{/other_user}","gists_url":"https://api.github.com/users/RealGeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/RealGeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealGeeks/subscriptions","organizations_url":"https://api.github.com/users/RealGeeks/orgs","repos_url":"https://api.github.com/users/RealGeeks/repos","events_url":"https://api.github.com/users/RealGeeks/events{/privacy}","received_events_url":"https://api.github.com/users/RealGeeks/received_events","type":"Organization","site_admin":false},"repo":{"id":14904824,"name":"thumbor","full_name":"RealGeeks/thumbor","owner":{"login":"RealGeeks","id":617838,"avatar_url":"https://avatars.githubusercontent.com/u/617838?v=3","gravatar_id":"","url":"https://api.github.com/users/RealGeeks","html_url":"https://github.com/RealGeeks","followers_url":"https://api.github.com/users/RealGeeks/followers","following_url":"https://api.github.com/users/RealGeeks/following{/other_user}","gists_url":"https://api.github.com/users/RealGeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/RealGeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealGeeks/subscriptions","organizations_url":"https://api.github.com/users/RealGeeks/orgs","repos_url":"https://api.github.com/users/RealGeeks/repos","events_url":"https://api.github.com/users/RealGeeks/events{/privacy}","received_events_url":"https://api.github.com/users/RealGeeks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RealGeeks/thumbor","description":"thumbor is an open-source photo thumbnail service by globo.com","fork":true,"url":"https://api.github.com/repos/RealGeeks/thumbor","forks_url":"https://api.github.com/repos/RealGeeks/thumbor/forks","keys_url":"https://api.github.com/repos/RealGeeks/thumbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RealGeeks/thumbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RealGeeks/thumbor/teams","hooks_url":"https://api.github.com/repos/RealGeeks/thumbor/hooks","issue_events_url":"https://api.github.com/repos/RealGeeks/thumbor/issues/events{/number}","events_url":"https://api.github.com/repos/RealGeeks/thumbor/events","assignees_url":"https://api.github.com/repos/RealGeeks/thumbor/assignees{/user}","branches_url":"https://api.github.com/repos/RealGeeks/thumbor/branches{/branch}","tags_url":"https://api.github.com/repos/RealGeeks/thumbor/tags","blobs_url":"https://api.github.com/repos/RealGeeks/thumbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RealGeeks/thumbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RealGeeks/thumbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/RealGeeks/thumbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RealGeeks/thumbor/statuses/{sha}","languages_url":"https://api.github.com/repos/RealGeeks/thumbor/languages","stargazers_url":"https://api.github.com/repos/RealGeeks/thumbor/stargazers","contributors_url":"https://api.github.com/repos/RealGeeks/thumbor/contributors","subscribers_url":"https://api.github.com/repos/RealGeeks/thumbor/subscribers","subscription_url":"https://api.github.com/repos/RealGeeks/thumbor/subscription","commits_url":"https://api.github.com/repos/RealGeeks/thumbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/RealGeeks/thumbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/RealGeeks/thumbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/RealGeeks/thumbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/RealGeeks/thumbor/contents/{+path}","compare_url":"https://api.github.com/repos/RealGeeks/thumbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RealGeeks/thumbor/merges","archive_url":"https://api.github.com/repos/RealGeeks/thumbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RealGeeks/thumbor/downloads","issues_url":"https://api.github.com/repos/RealGeeks/thumbor/issues{/number}","pulls_url":"https://api.github.com/repos/RealGeeks/thumbor/pulls{/number}","milestones_url":"https://api.github.com/repos/RealGeeks/thumbor/milestones{/number}","notifications_url":"https://api.github.com/repos/RealGeeks/thumbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RealGeeks/thumbor/labels{/name}","releases_url":"https://api.github.com/repos/RealGeeks/thumbor/releases{/id}","created_at":"2013-12-03T20:22:44Z","updated_at":"2015-03-09T07:03:58Z","pushed_at":"2015-03-11T02:56:17Z","git_url":"git://github.com/RealGeeks/thumbor.git","ssh_url":"git@github.com:RealGeeks/thumbor.git","clone_url":"https://github.com/RealGeeks/thumbor.git","svn_url":"https://github.com/RealGeeks/thumbor","homepage":"https://github.com/globocom/thumbor/wiki","size":8157,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"thumbor:master","ref":"master","sha":"acb4beeedb3bf5edc7ebf700a2a617268e0e3c0d","user":{"login":"thumbor","id":6918711,"avatar_url":"https://avatars.githubusercontent.com/u/6918711?v=3","gravatar_id":"","url":"https://api.github.com/users/thumbor","html_url":"https://github.com/thumbor","followers_url":"https://api.github.com/users/thumbor/followers","following_url":"https://api.github.com/users/thumbor/following{/other_user}","gists_url":"https://api.github.com/users/thumbor/gists{/gist_id}","starred_url":"https://api.github.com/users/thumbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumbor/subscriptions","organizations_url":"https://api.github.com/users/thumbor/orgs","repos_url":"https://api.github.com/users/thumbor/repos","events_url":"https://api.github.com/users/thumbor/events{/privacy}","received_events_url":"https://api.github.com/users/thumbor/received_events","type":"Organization","site_admin":false},"repo":{"id":1488139,"name":"thumbor","full_name":"thumbor/thumbor","owner":{"login":"thumbor","id":6918711,"avatar_url":"https://avatars.githubusercontent.com/u/6918711?v=3","gravatar_id":"","url":"https://api.github.com/users/thumbor","html_url":"https://github.com/thumbor","followers_url":"https://api.github.com/users/thumbor/followers","following_url":"https://api.github.com/users/thumbor/following{/other_user}","gists_url":"https://api.github.com/users/thumbor/gists{/gist_id}","starred_url":"https://api.github.com/users/thumbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumbor/subscriptions","organizations_url":"https://api.github.com/users/thumbor/orgs","repos_url":"https://api.github.com/users/thumbor/repos","events_url":"https://api.github.com/users/thumbor/events{/privacy}","received_events_url":"https://api.github.com/users/thumbor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thumbor/thumbor","description":"thumbor is an open-source photo thumbnail service by globo.com","fork":false,"url":"https://api.github.com/repos/thumbor/thumbor","forks_url":"https://api.github.com/repos/thumbor/thumbor/forks","keys_url":"https://api.github.com/repos/thumbor/thumbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thumbor/thumbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thumbor/thumbor/teams","hooks_url":"https://api.github.com/repos/thumbor/thumbor/hooks","issue_events_url":"https://api.github.com/repos/thumbor/thumbor/issues/events{/number}","events_url":"https://api.github.com/repos/thumbor/thumbor/events","assignees_url":"https://api.github.com/repos/thumbor/thumbor/assignees{/user}","branches_url":"https://api.github.com/repos/thumbor/thumbor/branches{/branch}","tags_url":"https://api.github.com/repos/thumbor/thumbor/tags","blobs_url":"https://api.github.com/repos/thumbor/thumbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thumbor/thumbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thumbor/thumbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/thumbor/thumbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thumbor/thumbor/statuses/{sha}","languages_url":"https://api.github.com/repos/thumbor/thumbor/languages","stargazers_url":"https://api.github.com/repos/thumbor/thumbor/stargazers","contributors_url":"https://api.github.com/repos/thumbor/thumbor/contributors","subscribers_url":"https://api.github.com/repos/thumbor/thumbor/subscribers","subscription_url":"https://api.github.com/repos/thumbor/thumbor/subscription","commits_url":"https://api.github.com/repos/thumbor/thumbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/thumbor/thumbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/thumbor/thumbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/thumbor/thumbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/thumbor/thumbor/contents/{+path}","compare_url":"https://api.github.com/repos/thumbor/thumbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thumbor/thumbor/merges","archive_url":"https://api.github.com/repos/thumbor/thumbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thumbor/thumbor/downloads","issues_url":"https://api.github.com/repos/thumbor/thumbor/issues{/number}","pulls_url":"https://api.github.com/repos/thumbor/thumbor/pulls{/number}","milestones_url":"https://api.github.com/repos/thumbor/thumbor/milestones{/number}","notifications_url":"https://api.github.com/repos/thumbor/thumbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thumbor/thumbor/labels{/name}","releases_url":"https://api.github.com/repos/thumbor/thumbor/releases{/id}","created_at":"2011-03-16T17:30:05Z","updated_at":"2015-03-10T16:49:18Z","pushed_at":"2015-03-10T16:49:18Z","git_url":"git://github.com/thumbor/thumbor.git","ssh_url":"git@github.com:thumbor/thumbor.git","clone_url":"https://github.com/thumbor/thumbor.git","svn_url":"https://github.com/thumbor/thumbor","homepage":"http://thumbor.org","size":22799,"stargazers_count":2674,"watchers_count":2674,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":241,"mirror_url":null,"open_issues_count":43,"forks":241,"open_issues":43,"watchers":2674,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/435"},"html":{"href":"https://github.com/thumbor/thumbor/pull/435"},"issue":{"href":"https://api.github.com/repos/thumbor/thumbor/issues/435"},"comments":{"href":"https://api.github.com/repos/thumbor/thumbor/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/thumbor/thumbor/statuses/4dff037a29adf264a87084803d558741c5ae3dd0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":30,"deletions":20,"changed_files":1}}