{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vault/issues/606","labels_url":"https://api.github.com/repos/hashicorp/vault/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vault/issues/606/comments","events_url":"https://api.github.com/repos/hashicorp/vault/issues/606/events","html_url":"https://github.com/hashicorp/vault/pull/606","id":105796088,"number":606,"title":"Renew the semaphore key periodically","user":{"login":"tsilen","id":254396,"avatar_url":"https://avatars.githubusercontent.com/u/254396?v=3","gravatar_id":"","url":"https://api.github.com/users/tsilen","html_url":"https://github.com/tsilen","followers_url":"https://api.github.com/users/tsilen/followers","following_url":"https://api.github.com/users/tsilen/following{/other_user}","gists_url":"https://api.github.com/users/tsilen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsilen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsilen/subscriptions","organizations_url":"https://api.github.com/users/tsilen/orgs","repos_url":"https://api.github.com/users/tsilen/repos","events_url":"https://api.github.com/users/tsilen/events{/privacy}","received_events_url":"https://api.github.com/users/tsilen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-10T12:28:51Z","updated_at":"2015-09-14T10:32:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/vault/pulls/606","html_url":"https://github.com/hashicorp/vault/pull/606","diff_url":"https://github.com/hashicorp/vault/pull/606.diff","patch_url":"https://github.com/hashicorp/vault/pull/606.patch"},"body":"The semaphore key is used to determine whether we are the leader or not and is set to expire after TTL of 15 seconds. There was no logic implemented to renew the key before it expired, which caused the leader to step down and change every 15 seconds. A periodic timer is now added to update the key every 5 seconds to renew the TTL."},"comment":{"url":"https://api.github.com/repos/hashicorp/vault/issues/comments/140031200","html_url":"https://github.com/hashicorp/vault/pull/606#issuecomment-140031200","issue_url":"https://api.github.com/repos/hashicorp/vault/issues/606","id":140031200,"user":{"login":"tsilen","id":254396,"avatar_url":"https://avatars.githubusercontent.com/u/254396?v=3","gravatar_id":"","url":"https://api.github.com/users/tsilen","html_url":"https://github.com/tsilen","followers_url":"https://api.github.com/users/tsilen/followers","following_url":"https://api.github.com/users/tsilen/following{/other_user}","gists_url":"https://api.github.com/users/tsilen/gists{/gist_id}","starred_url":"https://api.github.com/users/tsilen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsilen/subscriptions","organizations_url":"https://api.github.com/users/tsilen/orgs","repos_url":"https://api.github.com/users/tsilen/repos","events_url":"https://api.github.com/users/tsilen/events{/privacy}","received_events_url":"https://api.github.com/users/tsilen/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T10:32:42Z","updated_at":"2015-09-14T10:32:42Z","body":"Thanks! Makes sense. I made the change, seems to work well."}}