{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/19","id":240809911,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwODA5OTEx","html_url":"https://github.com/puppetlabs/orchestrator_client-ruby/pull/19","diff_url":"https://github.com/puppetlabs/orchestrator_client-ruby/pull/19.diff","patch_url":"https://github.com/puppetlabs/orchestrator_client-ruby/pull/19.patch","issue_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues/19","number":19,"state":"open","locked":false,"title":"Switch to using persistent HTTP connections","user":{"login":"seanmil","id":26917,"node_id":"MDQ6VXNlcjI2OTE3","avatar_url":"https://avatars1.githubusercontent.com/u/26917?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmil","html_url":"https://github.com/seanmil","followers_url":"https://api.github.com/users/seanmil/followers","following_url":"https://api.github.com/users/seanmil/following{/other_user}","gists_url":"https://api.github.com/users/seanmil/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmil/subscriptions","organizations_url":"https://api.github.com/users/seanmil/orgs","repos_url":"https://api.github.com/users/seanmil/repos","events_url":"https://api.github.com/users/seanmil/events{/privacy}","received_events_url":"https://api.github.com/users/seanmil/received_events","type":"User","site_admin":false},"body":"When running a series of very quick tasks with a short polling\r\ninterval the overhead of re-establishing the TCP connection\r\nstarts to show. On a series of test runs with 13 tasks less than\r\na second in duration with a 0.1s polling interval using a\r\npersistent HTTP connection showed about a 8-9% performance\r\nimprovement.","created_at":"2018-12-24T20:36:28Z","updated_at":"2018-12-24T20:36:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/19/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/19/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues/19/comments","statuses_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/statuses/05f2024bf3b5ca34061cf9453545a4306be5ac46","head":{"label":"seanmil:persistent_http","ref":"persistent_http","sha":"05f2024bf3b5ca34061cf9453545a4306be5ac46","user":{"login":"seanmil","id":26917,"node_id":"MDQ6VXNlcjI2OTE3","avatar_url":"https://avatars1.githubusercontent.com/u/26917?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmil","html_url":"https://github.com/seanmil","followers_url":"https://api.github.com/users/seanmil/followers","following_url":"https://api.github.com/users/seanmil/following{/other_user}","gists_url":"https://api.github.com/users/seanmil/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmil/subscriptions","organizations_url":"https://api.github.com/users/seanmil/orgs","repos_url":"https://api.github.com/users/seanmil/repos","events_url":"https://api.github.com/users/seanmil/events{/privacy}","received_events_url":"https://api.github.com/users/seanmil/received_events","type":"User","site_admin":false},"repo":{"id":162988538,"node_id":"MDEwOlJlcG9zaXRvcnkxNjI5ODg1Mzg=","name":"orchestrator_client-ruby","full_name":"seanmil/orchestrator_client-ruby","private":false,"owner":{"login":"seanmil","id":26917,"node_id":"MDQ6VXNlcjI2OTE3","avatar_url":"https://avatars1.githubusercontent.com/u/26917?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmil","html_url":"https://github.com/seanmil","followers_url":"https://api.github.com/users/seanmil/followers","following_url":"https://api.github.com/users/seanmil/following{/other_user}","gists_url":"https://api.github.com/users/seanmil/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmil/subscriptions","organizations_url":"https://api.github.com/users/seanmil/orgs","repos_url":"https://api.github.com/users/seanmil/repos","events_url":"https://api.github.com/users/seanmil/events{/privacy}","received_events_url":"https://api.github.com/users/seanmil/received_events","type":"User","site_admin":false},"html_url":"https://github.com/seanmil/orchestrator_client-ruby","description":"Simple Ruby client for PE Orchestration services","fork":true,"url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby","forks_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/forks","keys_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/teams","hooks_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/hooks","issue_events_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/events","assignees_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/tags","blobs_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/languages","stargazers_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/stargazers","contributors_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/contributors","subscribers_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/subscribers","subscription_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/subscription","commits_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/merges","archive_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/downloads","issues_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/seanmil/orchestrator_client-ruby/deployments","created_at":"2018-12-24T12:28:30Z","updated_at":"2018-12-24T12:28:32Z","pushed_at":"2018-12-24T20:35:02Z","git_url":"git://github.com/seanmil/orchestrator_client-ruby.git","ssh_url":"git@github.com:seanmil/orchestrator_client-ruby.git","clone_url":"https://github.com/seanmil/orchestrator_client-ruby.git","svn_url":"https://github.com/seanmil/orchestrator_client-ruby","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"3bb2cb4ebe9bdb40404d917083ce00a9ebb7ec1a","user":{"login":"puppetlabs","id":234268,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNDI2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":68864008,"node_id":"MDEwOlJlcG9zaXRvcnk2ODg2NDAwOA==","name":"orchestrator_client-ruby","full_name":"puppetlabs/orchestrator_client-ruby","private":false,"owner":{"login":"puppetlabs","id":234268,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNDI2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/puppetlabs/orchestrator_client-ruby","description":"Simple Ruby client for PE Orchestration services","fork":false,"url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby","forks_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/forks","keys_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/teams","hooks_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/events","assignees_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/tags","blobs_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/subscription","commits_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/merges","archive_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/downloads","issues_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/deployments","created_at":"2016-09-21T22:50:39Z","updated_at":"2018-08-14T22:56:40Z","pushed_at":"2018-12-24T12:30:29Z","git_url":"git://github.com/puppetlabs/orchestrator_client-ruby.git","ssh_url":"git@github.com:puppetlabs/orchestrator_client-ruby.git","clone_url":"https://github.com/puppetlabs/orchestrator_client-ruby.git","svn_url":"https://github.com/puppetlabs/orchestrator_client-ruby","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/19"},"html":{"href":"https://github.com/puppetlabs/orchestrator_client-ruby/pull/19"},"issue":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues/19"},"comments":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/orchestrator_client-ruby/statuses/05f2024bf3b5ca34061cf9453545a4306be5ac46"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":23,"deletions":20,"changed_files":3}}
{"actor":{"display_login":"seanmil"}}