{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/mchestr/goriot/pulls/6","id":65028518,"html_url":"https://github.com/mchestr/goriot/pull/6","diff_url":"https://github.com/mchestr/goriot/pull/6.diff","patch_url":"https://github.com/mchestr/goriot/pull/6.patch","issue_url":"https://api.github.com/repos/mchestr/goriot/issues/6","number":6,"state":"closed","locked":false,"title":"Sort throttles after adding a new one","user":{"login":"mchestr","id":1817506,"avatar_url":"https://avatars.githubusercontent.com/u/1817506?v=3","gravatar_id":"","url":"https://api.github.com/users/mchestr","html_url":"https://github.com/mchestr","followers_url":"https://api.github.com/users/mchestr/followers","following_url":"https://api.github.com/users/mchestr/following{/other_user}","gists_url":"https://api.github.com/users/mchestr/gists{/gist_id}","starred_url":"https://api.github.com/users/mchestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchestr/subscriptions","organizations_url":"https://api.github.com/users/mchestr/orgs","repos_url":"https://api.github.com/users/mchestr/repos","events_url":"https://api.github.com/users/mchestr/events{/privacy}","received_events_url":"https://api.github.com/users/mchestr/received_events","type":"User","site_admin":false},"body":"Sort the throttles by rate so when blocking we block the largest rate\r\nfirst, then move down to smaller rates, this way we don't get extra\r\nrequests being sent through.","created_at":"2016-04-02T05:12:46Z","updated_at":"2016-04-02T05:37:06Z","closed_at":"2016-04-02T05:37:06Z","merged_at":"2016-04-02T05:37:06Z","merge_commit_sha":"5d98eeca28d94fd0e6b9639f0bdd38e95fcad4a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mchestr/goriot/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mchestr/goriot/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mchestr/goriot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mchestr/goriot/issues/6/comments","statuses_url":"https://api.github.com/repos/mchestr/goriot/statuses/2432ba78ecbae05dd0aa3b239ce8c5ff48247622","head":{"label":"mchestr:dev","ref":"dev","sha":"2432ba78ecbae05dd0aa3b239ce8c5ff48247622","user":{"login":"mchestr","id":1817506,"avatar_url":"https://avatars.githubusercontent.com/u/1817506?v=3","gravatar_id":"","url":"https://api.github.com/users/mchestr","html_url":"https://github.com/mchestr","followers_url":"https://api.github.com/users/mchestr/followers","following_url":"https://api.github.com/users/mchestr/following{/other_user}","gists_url":"https://api.github.com/users/mchestr/gists{/gist_id}","starred_url":"https://api.github.com/users/mchestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchestr/subscriptions","organizations_url":"https://api.github.com/users/mchestr/orgs","repos_url":"https://api.github.com/users/mchestr/repos","events_url":"https://api.github.com/users/mchestr/events{/privacy}","received_events_url":"https://api.github.com/users/mchestr/received_events","type":"User","site_admin":false},"repo":{"id":54804350,"name":"goriot","full_name":"mchestr/goriot","owner":{"login":"mchestr","id":1817506,"avatar_url":"https://avatars.githubusercontent.com/u/1817506?v=3","gravatar_id":"","url":"https://api.github.com/users/mchestr","html_url":"https://github.com/mchestr","followers_url":"https://api.github.com/users/mchestr/followers","following_url":"https://api.github.com/users/mchestr/following{/other_user}","gists_url":"https://api.github.com/users/mchestr/gists{/gist_id}","starred_url":"https://api.github.com/users/mchestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchestr/subscriptions","organizations_url":"https://api.github.com/users/mchestr/orgs","repos_url":"https://api.github.com/users/mchestr/repos","events_url":"https://api.github.com/users/mchestr/events{/privacy}","received_events_url":"https://api.github.com/users/mchestr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mchestr/goriot","description":"Interface for the official Riot Games API written in Go","fork":false,"url":"https://api.github.com/repos/mchestr/goriot","forks_url":"https://api.github.com/repos/mchestr/goriot/forks","keys_url":"https://api.github.com/repos/mchestr/goriot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mchestr/goriot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mchestr/goriot/teams","hooks_url":"https://api.github.com/repos/mchestr/goriot/hooks","issue_events_url":"https://api.github.com/repos/mchestr/goriot/issues/events{/number}","events_url":"https://api.github.com/repos/mchestr/goriot/events","assignees_url":"https://api.github.com/repos/mchestr/goriot/assignees{/user}","branches_url":"https://api.github.com/repos/mchestr/goriot/branches{/branch}","tags_url":"https://api.github.com/repos/mchestr/goriot/tags","blobs_url":"https://api.github.com/repos/mchestr/goriot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mchestr/goriot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mchestr/goriot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mchestr/goriot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mchestr/goriot/statuses/{sha}","languages_url":"https://api.github.com/repos/mchestr/goriot/languages","stargazers_url":"https://api.github.com/repos/mchestr/goriot/stargazers","contributors_url":"https://api.github.com/repos/mchestr/goriot/contributors","subscribers_url":"https://api.github.com/repos/mchestr/goriot/subscribers","subscription_url":"https://api.github.com/repos/mchestr/goriot/subscription","commits_url":"https://api.github.com/repos/mchestr/goriot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mchestr/goriot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mchestr/goriot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mchestr/goriot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mchestr/goriot/contents/{+path}","compare_url":"https://api.github.com/repos/mchestr/goriot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mchestr/goriot/merges","archive_url":"https://api.github.com/repos/mchestr/goriot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mchestr/goriot/downloads","issues_url":"https://api.github.com/repos/mchestr/goriot/issues{/number}","pulls_url":"https://api.github.com/repos/mchestr/goriot/pulls{/number}","milestones_url":"https://api.github.com/repos/mchestr/goriot/milestones{/number}","notifications_url":"https://api.github.com/repos/mchestr/goriot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mchestr/goriot/labels{/name}","releases_url":"https://api.github.com/repos/mchestr/goriot/releases{/id}","deployments_url":"https://api.github.com/repos/mchestr/goriot/deployments","created_at":"2016-03-26T23:36:48Z","updated_at":"2016-03-26T23:50:44Z","pushed_at":"2016-04-02T05:37:06Z","git_url":"git://github.com/mchestr/goriot.git","ssh_url":"git@github.com:mchestr/goriot.git","clone_url":"https://github.com/mchestr/goriot.git","svn_url":"https://github.com/mchestr/goriot","homepage":null,"size":117,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"mchestr:master","ref":"master","sha":"f1583aed5e78745b96ac2a20eb39112c3696ccba","user":{"login":"mchestr","id":1817506,"avatar_url":"https://avatars.githubusercontent.com/u/1817506?v=3","gravatar_id":"","url":"https://api.github.com/users/mchestr","html_url":"https://github.com/mchestr","followers_url":"https://api.github.com/users/mchestr/followers","following_url":"https://api.github.com/users/mchestr/following{/other_user}","gists_url":"https://api.github.com/users/mchestr/gists{/gist_id}","starred_url":"https://api.github.com/users/mchestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchestr/subscriptions","organizations_url":"https://api.github.com/users/mchestr/orgs","repos_url":"https://api.github.com/users/mchestr/repos","events_url":"https://api.github.com/users/mchestr/events{/privacy}","received_events_url":"https://api.github.com/users/mchestr/received_events","type":"User","site_admin":false},"repo":{"id":54804350,"name":"goriot","full_name":"mchestr/goriot","owner":{"login":"mchestr","id":1817506,"avatar_url":"https://avatars.githubusercontent.com/u/1817506?v=3","gravatar_id":"","url":"https://api.github.com/users/mchestr","html_url":"https://github.com/mchestr","followers_url":"https://api.github.com/users/mchestr/followers","following_url":"https://api.github.com/users/mchestr/following{/other_user}","gists_url":"https://api.github.com/users/mchestr/gists{/gist_id}","starred_url":"https://api.github.com/users/mchestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchestr/subscriptions","organizations_url":"https://api.github.com/users/mchestr/orgs","repos_url":"https://api.github.com/users/mchestr/repos","events_url":"https://api.github.com/users/mchestr/events{/privacy}","received_events_url":"https://api.github.com/users/mchestr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mchestr/goriot","description":"Interface for the official Riot Games API written in Go","fork":false,"url":"https://api.github.com/repos/mchestr/goriot","forks_url":"https://api.github.com/repos/mchestr/goriot/forks","keys_url":"https://api.github.com/repos/mchestr/goriot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mchestr/goriot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mchestr/goriot/teams","hooks_url":"https://api.github.com/repos/mchestr/goriot/hooks","issue_events_url":"https://api.github.com/repos/mchestr/goriot/issues/events{/number}","events_url":"https://api.github.com/repos/mchestr/goriot/events","assignees_url":"https://api.github.com/repos/mchestr/goriot/assignees{/user}","branches_url":"https://api.github.com/repos/mchestr/goriot/branches{/branch}","tags_url":"https://api.github.com/repos/mchestr/goriot/tags","blobs_url":"https://api.github.com/repos/mchestr/goriot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mchestr/goriot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mchestr/goriot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mchestr/goriot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mchestr/goriot/statuses/{sha}","languages_url":"https://api.github.com/repos/mchestr/goriot/languages","stargazers_url":"https://api.github.com/repos/mchestr/goriot/stargazers","contributors_url":"https://api.github.com/repos/mchestr/goriot/contributors","subscribers_url":"https://api.github.com/repos/mchestr/goriot/subscribers","subscription_url":"https://api.github.com/repos/mchestr/goriot/subscription","commits_url":"https://api.github.com/repos/mchestr/goriot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mchestr/goriot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mchestr/goriot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mchestr/goriot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mchestr/goriot/contents/{+path}","compare_url":"https://api.github.com/repos/mchestr/goriot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mchestr/goriot/merges","archive_url":"https://api.github.com/repos/mchestr/goriot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mchestr/goriot/downloads","issues_url":"https://api.github.com/repos/mchestr/goriot/issues{/number}","pulls_url":"https://api.github.com/repos/mchestr/goriot/pulls{/number}","milestones_url":"https://api.github.com/repos/mchestr/goriot/milestones{/number}","notifications_url":"https://api.github.com/repos/mchestr/goriot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mchestr/goriot/labels{/name}","releases_url":"https://api.github.com/repos/mchestr/goriot/releases{/id}","deployments_url":"https://api.github.com/repos/mchestr/goriot/deployments","created_at":"2016-03-26T23:36:48Z","updated_at":"2016-03-26T23:50:44Z","pushed_at":"2016-04-02T05:37:06Z","git_url":"git://github.com/mchestr/goriot.git","ssh_url":"git@github.com:mchestr/goriot.git","clone_url":"https://github.com/mchestr/goriot.git","svn_url":"https://github.com/mchestr/goriot","homepage":null,"size":117,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mchestr/goriot/pulls/6"},"html":{"href":"https://github.com/mchestr/goriot/pull/6"},"issue":{"href":"https://api.github.com/repos/mchestr/goriot/issues/6"},"comments":{"href":"https://api.github.com/repos/mchestr/goriot/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mchestr/goriot/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mchestr/goriot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mchestr/goriot/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mchestr/goriot/statuses/2432ba78ecbae05dd0aa3b239ce8c5ff48247622"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mchestr","id":1817506,"avatar_url":"https://avatars.githubusercontent.com/u/1817506?v=3","gravatar_id":"","url":"https://api.github.com/users/mchestr","html_url":"https://github.com/mchestr","followers_url":"https://api.github.com/users/mchestr/followers","following_url":"https://api.github.com/users/mchestr/following{/other_user}","gists_url":"https://api.github.com/users/mchestr/gists{/gist_id}","starred_url":"https://api.github.com/users/mchestr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchestr/subscriptions","organizations_url":"https://api.github.com/users/mchestr/orgs","repos_url":"https://api.github.com/users/mchestr/repos","events_url":"https://api.github.com/users/mchestr/events{/privacy}","received_events_url":"https://api.github.com/users/mchestr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":37,"deletions":10,"changed_files":3}}