{"action":"closed","number":63,"pull_request":{"url":"https://api.github.com/repos/pingcap/raft-rs/pulls/63","id":189198200,"html_url":"https://github.com/pingcap/raft-rs/pull/63","diff_url":"https://github.com/pingcap/raft-rs/pull/63.diff","patch_url":"https://github.com/pingcap/raft-rs/pull/63.patch","issue_url":"https://api.github.com/repos/pingcap/raft-rs/issues/63","number":63,"state":"closed","locked":false,"title":"Support configuring election timeout range","user":{"login":"BusyJay","id":1701473,"avatar_url":"https://avatars3.githubusercontent.com/u/1701473?v=4","gravatar_id":"","url":"https://api.github.com/users/BusyJay","html_url":"https://github.com/BusyJay","followers_url":"https://api.github.com/users/BusyJay/followers","following_url":"https://api.github.com/users/BusyJay/following{/other_user}","gists_url":"https://api.github.com/users/BusyJay/gists{/gist_id}","starred_url":"https://api.github.com/users/BusyJay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BusyJay/subscriptions","organizations_url":"https://api.github.com/users/BusyJay/orgs","repos_url":"https://api.github.com/users/BusyJay/repos","events_url":"https://api.github.com/users/BusyJay/events{/privacy}","received_events_url":"https://api.github.com/users/BusyJay/received_events","type":"User","site_admin":false},"body":"Sometimes, a node is expected to take less chance to become a leader due to reasons like poor performance. We can make it happen by customizing the randomized election timeout.","created_at":"2018-05-19T17:27:48Z","updated_at":"2018-05-20T15:09:13Z","closed_at":"2018-05-20T15:09:12Z","merged_at":"2018-05-20T15:09:12Z","merge_commit_sha":"8e368c1c11692a705c6079092c36b2c1426b7b09","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Hoverbear","id":130903,"avatar_url":"https://avatars3.githubusercontent.com/u/130903?v=4","gravatar_id":"","url":"https://api.github.com/users/Hoverbear","html_url":"https://github.com/Hoverbear","followers_url":"https://api.github.com/users/Hoverbear/followers","following_url":"https://api.github.com/users/Hoverbear/following{/other_user}","gists_url":"https://api.github.com/users/Hoverbear/gists{/gist_id}","starred_url":"https://api.github.com/users/Hoverbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hoverbear/subscriptions","organizations_url":"https://api.github.com/users/Hoverbear/orgs","repos_url":"https://api.github.com/users/Hoverbear/repos","events_url":"https://api.github.com/users/Hoverbear/events{/privacy}","received_events_url":"https://api.github.com/users/Hoverbear/received_events","type":"User","site_admin":false},{"login":"overvenus","id":2150711,"avatar_url":"https://avatars0.githubusercontent.com/u/2150711?v=4","gravatar_id":"","url":"https://api.github.com/users/overvenus","html_url":"https://github.com/overvenus","followers_url":"https://api.github.com/users/overvenus/followers","following_url":"https://api.github.com/users/overvenus/following{/other_user}","gists_url":"https://api.github.com/users/overvenus/gists{/gist_id}","starred_url":"https://api.github.com/users/overvenus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overvenus/subscriptions","organizations_url":"https://api.github.com/users/overvenus/orgs","repos_url":"https://api.github.com/users/overvenus/repos","events_url":"https://api.github.com/users/overvenus/events{/privacy}","received_events_url":"https://api.github.com/users/overvenus/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pingcap/raft-rs/pulls/63/commits","review_comments_url":"https://api.github.com/repos/pingcap/raft-rs/pulls/63/comments","review_comment_url":"https://api.github.com/repos/pingcap/raft-rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/raft-rs/issues/63/comments","statuses_url":"https://api.github.com/repos/pingcap/raft-rs/statuses/4bb72821ca93725b576393a7de8727f27a7df3a8","head":{"label":"pingcap:add-least-timeout","ref":"add-least-timeout","sha":"4bb72821ca93725b576393a7de8727f27a7df3a8","user":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":114735865,"name":"raft-rs","full_name":"pingcap/raft-rs","owner":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/raft-rs","description":"Raft distributed consensus algorithm implemented in Rust.","fork":false,"url":"https://api.github.com/repos/pingcap/raft-rs","forks_url":"https://api.github.com/repos/pingcap/raft-rs/forks","keys_url":"https://api.github.com/repos/pingcap/raft-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/raft-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/raft-rs/teams","hooks_url":"https://api.github.com/repos/pingcap/raft-rs/hooks","issue_events_url":"https://api.github.com/repos/pingcap/raft-rs/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/raft-rs/events","assignees_url":"https://api.github.com/repos/pingcap/raft-rs/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/raft-rs/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/raft-rs/tags","blobs_url":"https://api.github.com/repos/pingcap/raft-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/raft-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/raft-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/raft-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/raft-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/raft-rs/languages","stargazers_url":"https://api.github.com/repos/pingcap/raft-rs/stargazers","contributors_url":"https://api.github.com/repos/pingcap/raft-rs/contributors","subscribers_url":"https://api.github.com/repos/pingcap/raft-rs/subscribers","subscription_url":"https://api.github.com/repos/pingcap/raft-rs/subscription","commits_url":"https://api.github.com/repos/pingcap/raft-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/raft-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/raft-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/raft-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/raft-rs/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/raft-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/raft-rs/merges","archive_url":"https://api.github.com/repos/pingcap/raft-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/raft-rs/downloads","issues_url":"https://api.github.com/repos/pingcap/raft-rs/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/raft-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/raft-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/raft-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/raft-rs/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/raft-rs/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/raft-rs/deployments","created_at":"2017-12-19T07:56:10Z","updated_at":"2018-05-20T14:36:22Z","pushed_at":"2018-05-20T15:09:12Z","git_url":"git://github.com/pingcap/raft-rs.git","ssh_url":"git@github.com:pingcap/raft-rs.git","clone_url":"https://github.com/pingcap/raft-rs.git","svn_url":"https://github.com/pingcap/raft-rs","homepage":"","size":885,"stargazers_count":188,"watchers_count":188,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":26,"open_issues":14,"watchers":188,"default_branch":"master"}},"base":{"label":"pingcap:master","ref":"master","sha":"d8e2d1feb2e7064f84e3bb3dd80f7539cd503658","user":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":114735865,"name":"raft-rs","full_name":"pingcap/raft-rs","owner":{"login":"pingcap","id":11855343,"avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/raft-rs","description":"Raft distributed consensus algorithm implemented in Rust.","fork":false,"url":"https://api.github.com/repos/pingcap/raft-rs","forks_url":"https://api.github.com/repos/pingcap/raft-rs/forks","keys_url":"https://api.github.com/repos/pingcap/raft-rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/raft-rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/raft-rs/teams","hooks_url":"https://api.github.com/repos/pingcap/raft-rs/hooks","issue_events_url":"https://api.github.com/repos/pingcap/raft-rs/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/raft-rs/events","assignees_url":"https://api.github.com/repos/pingcap/raft-rs/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/raft-rs/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/raft-rs/tags","blobs_url":"https://api.github.com/repos/pingcap/raft-rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/raft-rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/raft-rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/raft-rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/raft-rs/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/raft-rs/languages","stargazers_url":"https://api.github.com/repos/pingcap/raft-rs/stargazers","contributors_url":"https://api.github.com/repos/pingcap/raft-rs/contributors","subscribers_url":"https://api.github.com/repos/pingcap/raft-rs/subscribers","subscription_url":"https://api.github.com/repos/pingcap/raft-rs/subscription","commits_url":"https://api.github.com/repos/pingcap/raft-rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/raft-rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/raft-rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/raft-rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/raft-rs/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/raft-rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/raft-rs/merges","archive_url":"https://api.github.com/repos/pingcap/raft-rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/raft-rs/downloads","issues_url":"https://api.github.com/repos/pingcap/raft-rs/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/raft-rs/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/raft-rs/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/raft-rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/raft-rs/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/raft-rs/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/raft-rs/deployments","created_at":"2017-12-19T07:56:10Z","updated_at":"2018-05-20T14:36:22Z","pushed_at":"2018-05-20T15:09:12Z","git_url":"git://github.com/pingcap/raft-rs.git","ssh_url":"git@github.com:pingcap/raft-rs.git","clone_url":"https://github.com/pingcap/raft-rs.git","svn_url":"https://github.com/pingcap/raft-rs","homepage":"","size":885,"stargazers_count":188,"watchers_count":188,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":26,"open_issues":14,"watchers":188,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/raft-rs/pulls/63"},"html":{"href":"https://github.com/pingcap/raft-rs/pull/63"},"issue":{"href":"https://api.github.com/repos/pingcap/raft-rs/issues/63"},"comments":{"href":"https://api.github.com/repos/pingcap/raft-rs/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/raft-rs/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/raft-rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/raft-rs/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/raft-rs/statuses/4bb72821ca93725b576393a7de8727f27a7df3a8"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"BusyJay","id":1701473,"avatar_url":"https://avatars3.githubusercontent.com/u/1701473?v=4","gravatar_id":"","url":"https://api.github.com/users/BusyJay","html_url":"https://github.com/BusyJay","followers_url":"https://api.github.com/users/BusyJay/followers","following_url":"https://api.github.com/users/BusyJay/following{/other_user}","gists_url":"https://api.github.com/users/BusyJay/gists{/gist_id}","starred_url":"https://api.github.com/users/BusyJay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BusyJay/subscriptions","organizations_url":"https://api.github.com/users/BusyJay/orgs","repos_url":"https://api.github.com/users/BusyJay/repos","events_url":"https://api.github.com/users/BusyJay/events{/privacy}","received_events_url":"https://api.github.com/users/BusyJay/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"maintainer_can_modify":false,"commits":6,"additions":82,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"BusyJay"}}