{"action":"created","comment":{"url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/comments/79986159","id":79986159,"diff_hunk":"@@ -89,6 +90,7 @@ struct ServerGlobalParams {\n \n     int defaultProfile;               // --profile\n     int slowMS;                       // --time in ms that is \"slow\"\n+    int rateLimit;                    // --rate limit in the range 0-1000 represents a  1/N probability that a query will be profiled","path":"src/mongo/db/server_options.h","position":12,"original_position":12,"commit_id":"d310672343839d1e65fcf1f7061a549203269abb","original_commit_id":"d310672343839d1e65fcf1f7061a549203269abb","user":{"login":"igorsol","id":668750,"avatar_url":"https://avatars.githubusercontent.com/u/668750?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsol","html_url":"https://github.com/igorsol","followers_url":"https://api.github.com/users/igorsol/followers","following_url":"https://api.github.com/users/igorsol/following{/other_user}","gists_url":"https://api.github.com/users/igorsol/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsol/subscriptions","organizations_url":"https://api.github.com/users/igorsol/orgs","repos_url":"https://api.github.com/users/igorsol/repos","events_url":"https://api.github.com/users/igorsol/events{/privacy}","received_events_url":"https://api.github.com/users/igorsol/received_events","type":"User","site_admin":false},"body":"done. Now comment says \"in the range 1-RATE_LIMIT_MAX\"","created_at":"2016-09-22T07:20:12Z","updated_at":"2016-09-22T07:20:12Z","html_url":"https://github.com/percona/percona-server-mongodb/pull/75#discussion_r79986159","pull_request_url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/comments/79986159"},"html":{"href":"https://github.com/percona/percona-server-mongodb/pull/75#discussion_r79986159"},"pull_request":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75","id":85428545,"html_url":"https://github.com/percona/percona-server-mongodb/pull/75","diff_url":"https://github.com/percona/percona-server-mongodb/pull/75.diff","patch_url":"https://github.com/percona/percona-server-mongodb/pull/75.patch","issue_url":"https://api.github.com/repos/percona/percona-server-mongodb/issues/75","number":75,"state":"open","locked":false,"title":"Rate Limit feature","user":{"login":"igorsol","id":668750,"avatar_url":"https://avatars.githubusercontent.com/u/668750?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsol","html_url":"https://github.com/igorsol","followers_url":"https://api.github.com/users/igorsol/followers","following_url":"https://api.github.com/users/igorsol/following{/other_user}","gists_url":"https://api.github.com/users/igorsol/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsol/subscriptions","organizations_url":"https://api.github.com/users/igorsol/orgs","repos_url":"https://api.github.com/users/igorsol/repos","events_url":"https://api.github.com/users/igorsol/events{/privacy}","received_events_url":"https://api.github.com/users/igorsol/received_events","type":"User","site_admin":false},"body":"Rate Limit feature","created_at":"2016-09-15T15:40:47Z","updated_at":"2016-09-22T07:20:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ead2493db7e3adb8f0fe17531e77fbaf0c22377b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75/commits","review_comments_url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75/comments","review_comment_url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/percona-server-mongodb/issues/75/comments","statuses_url":"https://api.github.com/repos/percona/percona-server-mongodb/statuses/d310672343839d1e65fcf1f7061a549203269abb","head":{"label":"igorsol:ratelimit32","ref":"ratelimit32","sha":"d310672343839d1e65fcf1f7061a549203269abb","user":{"login":"igorsol","id":668750,"avatar_url":"https://avatars.githubusercontent.com/u/668750?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsol","html_url":"https://github.com/igorsol","followers_url":"https://api.github.com/users/igorsol/followers","following_url":"https://api.github.com/users/igorsol/following{/other_user}","gists_url":"https://api.github.com/users/igorsol/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsol/subscriptions","organizations_url":"https://api.github.com/users/igorsol/orgs","repos_url":"https://api.github.com/users/igorsol/repos","events_url":"https://api.github.com/users/igorsol/events{/privacy}","received_events_url":"https://api.github.com/users/igorsol/received_events","type":"User","site_admin":false},"repo":{"id":39797075,"name":"percona-server-mongodb","full_name":"igorsol/percona-server-mongodb","owner":{"login":"igorsol","id":668750,"avatar_url":"https://avatars.githubusercontent.com/u/668750?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsol","html_url":"https://github.com/igorsol","followers_url":"https://api.github.com/users/igorsol/followers","following_url":"https://api.github.com/users/igorsol/following{/other_user}","gists_url":"https://api.github.com/users/igorsol/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsol/subscriptions","organizations_url":"https://api.github.com/users/igorsol/orgs","repos_url":"https://api.github.com/users/igorsol/repos","events_url":"https://api.github.com/users/igorsol/events{/privacy}","received_events_url":"https://api.github.com/users/igorsol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/igorsol/percona-server-mongodb","description":"Percona Server for MongoDB","fork":true,"url":"https://api.github.com/repos/igorsol/percona-server-mongodb","forks_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/forks","keys_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/teams","hooks_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/hooks","issue_events_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/events","assignees_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/tags","blobs_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/languages","stargazers_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/stargazers","contributors_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/contributors","subscribers_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/subscribers","subscription_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/subscription","commits_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/merges","archive_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/downloads","issues_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/igorsol/percona-server-mongodb/deployments","created_at":"2015-07-27T20:47:34Z","updated_at":"2016-03-28T13:32:05Z","pushed_at":"2016-09-15T15:11:41Z","git_url":"git://github.com/igorsol/percona-server-mongodb.git","ssh_url":"git@github.com:igorsol/percona-server-mongodb.git","clone_url":"https://github.com/igorsol/percona-server-mongodb.git","svn_url":"https://github.com/igorsol/percona-server-mongodb","homepage":"http://www.percona.com","size":224052,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"percona:v3.2-beta","ref":"v3.2-beta","sha":"d497c754e9f679cd4e639bdffaa3cb31e54b7f04","user":{"login":"percona","id":1683025,"avatar_url":"https://avatars.githubusercontent.com/u/1683025?v=3","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":39519916,"name":"percona-server-mongodb","full_name":"percona/percona-server-mongodb","owner":{"login":"percona","id":1683025,"avatar_url":"https://avatars.githubusercontent.com/u/1683025?v=3","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/percona/percona-server-mongodb","description":"Percona Server for MongoDB","fork":true,"url":"https://api.github.com/repos/percona/percona-server-mongodb","forks_url":"https://api.github.com/repos/percona/percona-server-mongodb/forks","keys_url":"https://api.github.com/repos/percona/percona-server-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/percona-server-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/percona-server-mongodb/teams","hooks_url":"https://api.github.com/repos/percona/percona-server-mongodb/hooks","issue_events_url":"https://api.github.com/repos/percona/percona-server-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/percona/percona-server-mongodb/events","assignees_url":"https://api.github.com/repos/percona/percona-server-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/percona/percona-server-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/percona/percona-server-mongodb/tags","blobs_url":"https://api.github.com/repos/percona/percona-server-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/percona-server-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/percona-server-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/percona-server-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/percona-server-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/percona-server-mongodb/languages","stargazers_url":"https://api.github.com/repos/percona/percona-server-mongodb/stargazers","contributors_url":"https://api.github.com/repos/percona/percona-server-mongodb/contributors","subscribers_url":"https://api.github.com/repos/percona/percona-server-mongodb/subscribers","subscription_url":"https://api.github.com/repos/percona/percona-server-mongodb/subscription","commits_url":"https://api.github.com/repos/percona/percona-server-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/percona-server-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/percona-server-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/percona-server-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/percona-server-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/percona/percona-server-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/percona-server-mongodb/merges","archive_url":"https://api.github.com/repos/percona/percona-server-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/percona-server-mongodb/downloads","issues_url":"https://api.github.com/repos/percona/percona-server-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/percona/percona-server-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/percona-server-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/percona-server-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/percona-server-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/percona/percona-server-mongodb/releases{/id}","deployments_url":"https://api.github.com/repos/percona/percona-server-mongodb/deployments","created_at":"2015-07-22T17:25:26Z","updated_at":"2016-09-20T23:01:06Z","pushed_at":"2016-09-21T12:50:59Z","git_url":"git://github.com/percona/percona-server-mongodb.git","ssh_url":"git@github.com:percona/percona-server-mongodb.git","clone_url":"https://github.com/percona/percona-server-mongodb.git","svn_url":"https://github.com/percona/percona-server-mongodb","homepage":"http://www.percona.com","size":225533,"stargazers_count":32,"watchers_count":32,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":10,"forks":12,"open_issues":10,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75"},"html":{"href":"https://github.com/percona/percona-server-mongodb/pull/75"},"issue":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/issues/75"},"comments":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/percona/percona-server-mongodb/statuses/d310672343839d1e65fcf1f7061a549203269abb"}}}}
{"actor":{"display_login":"igorsol"}}