{"action":"closed","number":3197,"pull_request":{"url":"https://api.github.com/repos/discourse/discourse/pulls/3197","id":29071134,"html_url":"https://github.com/discourse/discourse/pull/3197","diff_url":"https://github.com/discourse/discourse/pull/3197.diff","patch_url":"https://github.com/discourse/discourse/pull/3197.patch","issue_url":"https://api.github.com/repos/discourse/discourse/issues/3197","number":3197,"state":"closed","locked":false,"title":"FIX: Don't expire ratelimits at midnight server time","user":{"login":"riking","id":627891,"avatar_url":"https://avatars.githubusercontent.com/u/627891?v=3","gravatar_id":"","url":"https://api.github.com/users/riking","html_url":"https://github.com/riking","followers_url":"https://api.github.com/users/riking/followers","following_url":"https://api.github.com/users/riking/following{/other_user}","gists_url":"https://api.github.com/users/riking/gists{/gist_id}","starred_url":"https://api.github.com/users/riking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riking/subscriptions","organizations_url":"https://api.github.com/users/riking/orgs","repos_url":"https://api.github.com/users/riking/repos","events_url":"https://api.github.com/users/riking/events{/privacy}","received_events_url":"https://api.github.com/users/riking/received_events","type":"User","site_admin":false},"body":"This fixes the error message returned when you exceed the rate limit by not throwing out the action data when the date rolls over.","created_at":"2015-02-11T06:47:25Z","updated_at":"2015-02-23T05:52:25Z","closed_at":"2015-02-23T05:52:25Z","merged_at":"2015-02-23T05:52:25Z","merge_commit_sha":"1147458d3f2f9e04b3aeab2c21083632ffc1cf46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/discourse/discourse/pulls/3197/commits","review_comments_url":"https://api.github.com/repos/discourse/discourse/pulls/3197/comments","review_comment_url":"https://api.github.com/repos/discourse/discourse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/discourse/discourse/issues/3197/comments","statuses_url":"https://api.github.com/repos/discourse/discourse/statuses/3c035dce7cca7a67e70e0636e86c7505fac8f46c","head":{"label":"riking:rate-limiter","ref":"rate-limiter","sha":"3c035dce7cca7a67e70e0636e86c7505fac8f46c","user":{"login":"riking","id":627891,"avatar_url":"https://avatars.githubusercontent.com/u/627891?v=3","gravatar_id":"","url":"https://api.github.com/users/riking","html_url":"https://github.com/riking","followers_url":"https://api.github.com/users/riking/followers","following_url":"https://api.github.com/users/riking/following{/other_user}","gists_url":"https://api.github.com/users/riking/gists{/gist_id}","starred_url":"https://api.github.com/users/riking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riking/subscriptions","organizations_url":"https://api.github.com/users/riking/orgs","repos_url":"https://api.github.com/users/riking/repos","events_url":"https://api.github.com/users/riking/events{/privacy}","received_events_url":"https://api.github.com/users/riking/received_events","type":"User","site_admin":false},"repo":{"id":12501210,"name":"discourse","full_name":"riking/discourse","owner":{"login":"riking","id":627891,"avatar_url":"https://avatars.githubusercontent.com/u/627891?v=3","gravatar_id":"","url":"https://api.github.com/users/riking","html_url":"https://github.com/riking","followers_url":"https://api.github.com/users/riking/followers","following_url":"https://api.github.com/users/riking/following{/other_user}","gists_url":"https://api.github.com/users/riking/gists{/gist_id}","starred_url":"https://api.github.com/users/riking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riking/subscriptions","organizations_url":"https://api.github.com/users/riking/orgs","repos_url":"https://api.github.com/users/riking/repos","events_url":"https://api.github.com/users/riking/events{/privacy}","received_events_url":"https://api.github.com/users/riking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/riking/discourse","description":"A platform for community discussion. Free, open, simple.","fork":true,"url":"https://api.github.com/repos/riking/discourse","forks_url":"https://api.github.com/repos/riking/discourse/forks","keys_url":"https://api.github.com/repos/riking/discourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riking/discourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riking/discourse/teams","hooks_url":"https://api.github.com/repos/riking/discourse/hooks","issue_events_url":"https://api.github.com/repos/riking/discourse/issues/events{/number}","events_url":"https://api.github.com/repos/riking/discourse/events","assignees_url":"https://api.github.com/repos/riking/discourse/assignees{/user}","branches_url":"https://api.github.com/repos/riking/discourse/branches{/branch}","tags_url":"https://api.github.com/repos/riking/discourse/tags","blobs_url":"https://api.github.com/repos/riking/discourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riking/discourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riking/discourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/riking/discourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riking/discourse/statuses/{sha}","languages_url":"https://api.github.com/repos/riking/discourse/languages","stargazers_url":"https://api.github.com/repos/riking/discourse/stargazers","contributors_url":"https://api.github.com/repos/riking/discourse/contributors","subscribers_url":"https://api.github.com/repos/riking/discourse/subscribers","subscription_url":"https://api.github.com/repos/riking/discourse/subscription","commits_url":"https://api.github.com/repos/riking/discourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/riking/discourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/riking/discourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/riking/discourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/riking/discourse/contents/{+path}","compare_url":"https://api.github.com/repos/riking/discourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riking/discourse/merges","archive_url":"https://api.github.com/repos/riking/discourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riking/discourse/downloads","issues_url":"https://api.github.com/repos/riking/discourse/issues{/number}","pulls_url":"https://api.github.com/repos/riking/discourse/pulls{/number}","milestones_url":"https://api.github.com/repos/riking/discourse/milestones{/number}","notifications_url":"https://api.github.com/repos/riking/discourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riking/discourse/labels{/name}","releases_url":"https://api.github.com/repos/riking/discourse/releases{/id}","created_at":"2013-08-31T05:48:44Z","updated_at":"2015-02-03T04:26:46Z","pushed_at":"2015-02-23T05:29:14Z","git_url":"git://github.com/riking/discourse.git","ssh_url":"git@github.com:riking/discourse.git","clone_url":"https://github.com/riking/discourse.git","svn_url":"https://github.com/riking/discourse","homepage":"http://www.discourse.org","size":79173,"stargazers_count":1,"watchers_count":1,"language":"Ruby","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":1,"default_branch":"master"}},"base":{"label":"discourse:master","ref":"master","sha":"ca915e8ad75ef527067a4d2e3d4046fdbd0347d4","user":{"login":"discourse","id":3220138,"avatar_url":"https://avatars.githubusercontent.com/u/3220138?v=3","gravatar_id":"","url":"https://api.github.com/users/discourse","html_url":"https://github.com/discourse","followers_url":"https://api.github.com/users/discourse/followers","following_url":"https://api.github.com/users/discourse/following{/other_user}","gists_url":"https://api.github.com/users/discourse/gists{/gist_id}","starred_url":"https://api.github.com/users/discourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discourse/subscriptions","organizations_url":"https://api.github.com/users/discourse/orgs","repos_url":"https://api.github.com/users/discourse/repos","events_url":"https://api.github.com/users/discourse/events{/privacy}","received_events_url":"https://api.github.com/users/discourse/received_events","type":"Organization","site_admin":false},"repo":{"id":7569578,"name":"discourse","full_name":"discourse/discourse","owner":{"login":"discourse","id":3220138,"avatar_url":"https://avatars.githubusercontent.com/u/3220138?v=3","gravatar_id":"","url":"https://api.github.com/users/discourse","html_url":"https://github.com/discourse","followers_url":"https://api.github.com/users/discourse/followers","following_url":"https://api.github.com/users/discourse/following{/other_user}","gists_url":"https://api.github.com/users/discourse/gists{/gist_id}","starred_url":"https://api.github.com/users/discourse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discourse/subscriptions","organizations_url":"https://api.github.com/users/discourse/orgs","repos_url":"https://api.github.com/users/discourse/repos","events_url":"https://api.github.com/users/discourse/events{/privacy}","received_events_url":"https://api.github.com/users/discourse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/discourse/discourse","description":"A platform for community discussion. Free, open, simple.","fork":false,"url":"https://api.github.com/repos/discourse/discourse","forks_url":"https://api.github.com/repos/discourse/discourse/forks","keys_url":"https://api.github.com/repos/discourse/discourse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/discourse/discourse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/discourse/discourse/teams","hooks_url":"https://api.github.com/repos/discourse/discourse/hooks","issue_events_url":"https://api.github.com/repos/discourse/discourse/issues/events{/number}","events_url":"https://api.github.com/repos/discourse/discourse/events","assignees_url":"https://api.github.com/repos/discourse/discourse/assignees{/user}","branches_url":"https://api.github.com/repos/discourse/discourse/branches{/branch}","tags_url":"https://api.github.com/repos/discourse/discourse/tags","blobs_url":"https://api.github.com/repos/discourse/discourse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/discourse/discourse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/discourse/discourse/git/refs{/sha}","trees_url":"https://api.github.com/repos/discourse/discourse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/discourse/discourse/statuses/{sha}","languages_url":"https://api.github.com/repos/discourse/discourse/languages","stargazers_url":"https://api.github.com/repos/discourse/discourse/stargazers","contributors_url":"https://api.github.com/repos/discourse/discourse/contributors","subscribers_url":"https://api.github.com/repos/discourse/discourse/subscribers","subscription_url":"https://api.github.com/repos/discourse/discourse/subscription","commits_url":"https://api.github.com/repos/discourse/discourse/commits{/sha}","git_commits_url":"https://api.github.com/repos/discourse/discourse/git/commits{/sha}","comments_url":"https://api.github.com/repos/discourse/discourse/comments{/number}","issue_comment_url":"https://api.github.com/repos/discourse/discourse/issues/comments{/number}","contents_url":"https://api.github.com/repos/discourse/discourse/contents/{+path}","compare_url":"https://api.github.com/repos/discourse/discourse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/discourse/discourse/merges","archive_url":"https://api.github.com/repos/discourse/discourse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/discourse/discourse/downloads","issues_url":"https://api.github.com/repos/discourse/discourse/issues{/number}","pulls_url":"https://api.github.com/repos/discourse/discourse/pulls{/number}","milestones_url":"https://api.github.com/repos/discourse/discourse/milestones{/number}","notifications_url":"https://api.github.com/repos/discourse/discourse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/discourse/discourse/labels{/name}","releases_url":"https://api.github.com/repos/discourse/discourse/releases{/id}","created_at":"2013-01-12T00:25:55Z","updated_at":"2015-02-23T05:51:28Z","pushed_at":"2015-02-23T05:52:25Z","git_url":"git://github.com/discourse/discourse.git","ssh_url":"git@github.com:discourse/discourse.git","clone_url":"https://github.com/discourse/discourse.git","svn_url":"https://github.com/discourse/discourse","homepage":"http://www.discourse.org","size":179974,"stargazers_count":13565,"watchers_count":13565,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3606,"mirror_url":null,"open_issues_count":12,"forks":3606,"open_issues":12,"watchers":13565,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3197"},"html":{"href":"https://github.com/discourse/discourse/pull/3197"},"issue":{"href":"https://api.github.com/repos/discourse/discourse/issues/3197"},"comments":{"href":"https://api.github.com/repos/discourse/discourse/issues/3197/comments"},"review_comments":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3197/comments"},"review_comment":{"href":"https://api.github.com/repos/discourse/discourse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/discourse/discourse/pulls/3197/commits"},"statuses":{"href":"https://api.github.com/repos/discourse/discourse/statuses/3c035dce7cca7a67e70e0636e86c7505fac8f46c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"SamSaffron","id":5213,"avatar_url":"https://avatars.githubusercontent.com/u/5213?v=3","gravatar_id":"","url":"https://api.github.com/users/SamSaffron","html_url":"https://github.com/SamSaffron","followers_url":"https://api.github.com/users/SamSaffron/followers","following_url":"https://api.github.com/users/SamSaffron/following{/other_user}","gists_url":"https://api.github.com/users/SamSaffron/gists{/gist_id}","starred_url":"https://api.github.com/users/SamSaffron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamSaffron/subscriptions","organizations_url":"https://api.github.com/users/SamSaffron/orgs","repos_url":"https://api.github.com/users/SamSaffron/repos","events_url":"https://api.github.com/users/SamSaffron/events{/privacy}","received_events_url":"https://api.github.com/users/SamSaffron/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":4}}