{"action":"closed","number":1234,"pull_request":{"url":"https://api.github.com/repos/vapor/vapor/pulls/1234","id":149790451,"html_url":"https://github.com/vapor/vapor/pull/1234","diff_url":"https://github.com/vapor/vapor/pull/1234.diff","patch_url":"https://github.com/vapor/vapor/pull/1234.patch","issue_url":"https://api.github.com/repos/vapor/vapor/issues/1234","number":1234,"state":"closed","locked":false,"title":"Added support for pipelining","user":{"login":"John-Connolly","id":8390081,"avatar_url":"https://avatars3.githubusercontent.com/u/8390081?v=4","gravatar_id":"","url":"https://api.github.com/users/John-Connolly","html_url":"https://github.com/John-Connolly","followers_url":"https://api.github.com/users/John-Connolly/followers","following_url":"https://api.github.com/users/John-Connolly/following{/other_user}","gists_url":"https://api.github.com/users/John-Connolly/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Connolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Connolly/subscriptions","organizations_url":"https://api.github.com/users/John-Connolly/orgs","repos_url":"https://api.github.com/users/John-Connolly/repos","events_url":"https://api.github.com/users/John-Connolly/events{/privacy}","received_events_url":"https://api.github.com/users/John-Connolly/received_events","type":"User","site_admin":false},"body":"This PR adds support for Redis pipelining.  It concatenates a series of commands to be executed in bulk in order to save round trip time.  \r\n\r\ne.g\r\n```swift\r\nlet result = try connection.pipeline {\r\n        [\r\n           .array([.bulkString(\"SET\"), .bulkString(\"hello\"), .bulkString(\"world\")]),\r\n           .array([.bulkString(\"SET\"), .bulkString(\"hello1\"), .bulkString(\"world\")])\r\n        ]\r\n }.blockingAwait(timeout: .seconds(1))\r\n```","created_at":"2017-10-31T13:49:10Z","updated_at":"2017-11-04T12:02:58Z","closed_at":"2017-11-04T12:02:58Z","merged_at":"2017-11-04T12:02:58Z","merge_commit_sha":"c0bb059ce0d14c7364d11a77e0aaa7df4ae8f3b8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vapor/vapor/pulls/1234/commits","review_comments_url":"https://api.github.com/repos/vapor/vapor/pulls/1234/comments","review_comment_url":"https://api.github.com/repos/vapor/vapor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vapor/vapor/issues/1234/comments","statuses_url":"https://api.github.com/repos/vapor/vapor/statuses/ad9b30fd8fec4e2ebf9b689c0607925a7074dc97","head":{"label":"John-Connolly:redis-pipelining","ref":"redis-pipelining","sha":"ad9b30fd8fec4e2ebf9b689c0607925a7074dc97","user":{"login":"John-Connolly","id":8390081,"avatar_url":"https://avatars3.githubusercontent.com/u/8390081?v=4","gravatar_id":"","url":"https://api.github.com/users/John-Connolly","html_url":"https://github.com/John-Connolly","followers_url":"https://api.github.com/users/John-Connolly/followers","following_url":"https://api.github.com/users/John-Connolly/following{/other_user}","gists_url":"https://api.github.com/users/John-Connolly/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Connolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Connolly/subscriptions","organizations_url":"https://api.github.com/users/John-Connolly/orgs","repos_url":"https://api.github.com/users/John-Connolly/repos","events_url":"https://api.github.com/users/John-Connolly/events{/privacy}","received_events_url":"https://api.github.com/users/John-Connolly/received_events","type":"User","site_admin":false},"repo":{"id":109001023,"name":"vapor","full_name":"John-Connolly/vapor","owner":{"login":"John-Connolly","id":8390081,"avatar_url":"https://avatars3.githubusercontent.com/u/8390081?v=4","gravatar_id":"","url":"https://api.github.com/users/John-Connolly","html_url":"https://github.com/John-Connolly","followers_url":"https://api.github.com/users/John-Connolly/followers","following_url":"https://api.github.com/users/John-Connolly/following{/other_user}","gists_url":"https://api.github.com/users/John-Connolly/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Connolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Connolly/subscriptions","organizations_url":"https://api.github.com/users/John-Connolly/orgs","repos_url":"https://api.github.com/users/John-Connolly/repos","events_url":"https://api.github.com/users/John-Connolly/events{/privacy}","received_events_url":"https://api.github.com/users/John-Connolly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/John-Connolly/vapor","description":"💧 A server-side Swift web framework.","fork":true,"url":"https://api.github.com/repos/John-Connolly/vapor","forks_url":"https://api.github.com/repos/John-Connolly/vapor/forks","keys_url":"https://api.github.com/repos/John-Connolly/vapor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/John-Connolly/vapor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/John-Connolly/vapor/teams","hooks_url":"https://api.github.com/repos/John-Connolly/vapor/hooks","issue_events_url":"https://api.github.com/repos/John-Connolly/vapor/issues/events{/number}","events_url":"https://api.github.com/repos/John-Connolly/vapor/events","assignees_url":"https://api.github.com/repos/John-Connolly/vapor/assignees{/user}","branches_url":"https://api.github.com/repos/John-Connolly/vapor/branches{/branch}","tags_url":"https://api.github.com/repos/John-Connolly/vapor/tags","blobs_url":"https://api.github.com/repos/John-Connolly/vapor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/John-Connolly/vapor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/John-Connolly/vapor/git/refs{/sha}","trees_url":"https://api.github.com/repos/John-Connolly/vapor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/John-Connolly/vapor/statuses/{sha}","languages_url":"https://api.github.com/repos/John-Connolly/vapor/languages","stargazers_url":"https://api.github.com/repos/John-Connolly/vapor/stargazers","contributors_url":"https://api.github.com/repos/John-Connolly/vapor/contributors","subscribers_url":"https://api.github.com/repos/John-Connolly/vapor/subscribers","subscription_url":"https://api.github.com/repos/John-Connolly/vapor/subscription","commits_url":"https://api.github.com/repos/John-Connolly/vapor/commits{/sha}","git_commits_url":"https://api.github.com/repos/John-Connolly/vapor/git/commits{/sha}","comments_url":"https://api.github.com/repos/John-Connolly/vapor/comments{/number}","issue_comment_url":"https://api.github.com/repos/John-Connolly/vapor/issues/comments{/number}","contents_url":"https://api.github.com/repos/John-Connolly/vapor/contents/{+path}","compare_url":"https://api.github.com/repos/John-Connolly/vapor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/John-Connolly/vapor/merges","archive_url":"https://api.github.com/repos/John-Connolly/vapor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/John-Connolly/vapor/downloads","issues_url":"https://api.github.com/repos/John-Connolly/vapor/issues{/number}","pulls_url":"https://api.github.com/repos/John-Connolly/vapor/pulls{/number}","milestones_url":"https://api.github.com/repos/John-Connolly/vapor/milestones{/number}","notifications_url":"https://api.github.com/repos/John-Connolly/vapor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/John-Connolly/vapor/labels{/name}","releases_url":"https://api.github.com/repos/John-Connolly/vapor/releases{/id}","deployments_url":"https://api.github.com/repos/John-Connolly/vapor/deployments","created_at":"2017-10-31T13:39:53Z","updated_at":"2017-10-31T13:39:55Z","pushed_at":"2017-11-03T19:15:36Z","git_url":"git://github.com/John-Connolly/vapor.git","ssh_url":"git@github.com:John-Connolly/vapor.git","clone_url":"https://github.com/John-Connolly/vapor.git","svn_url":"https://github.com/John-Connolly/vapor","homepage":"https://vapor.codes","size":12445,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vapor:redis-pub-sub","ref":"redis-pub-sub","sha":"2ea19913c7b1ecd4e25f23d6dfa24b187eb78222","user":{"login":"vapor","id":17364220,"avatar_url":"https://avatars1.githubusercontent.com/u/17364220?v=4","gravatar_id":"","url":"https://api.github.com/users/vapor","html_url":"https://github.com/vapor","followers_url":"https://api.github.com/users/vapor/followers","following_url":"https://api.github.com/users/vapor/following{/other_user}","gists_url":"https://api.github.com/users/vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapor/subscriptions","organizations_url":"https://api.github.com/users/vapor/orgs","repos_url":"https://api.github.com/users/vapor/repos","events_url":"https://api.github.com/users/vapor/events{/privacy}","received_events_url":"https://api.github.com/users/vapor/received_events","type":"Organization","site_admin":false},"repo":{"id":49910095,"name":"vapor","full_name":"vapor/vapor","owner":{"login":"vapor","id":17364220,"avatar_url":"https://avatars1.githubusercontent.com/u/17364220?v=4","gravatar_id":"","url":"https://api.github.com/users/vapor","html_url":"https://github.com/vapor","followers_url":"https://api.github.com/users/vapor/followers","following_url":"https://api.github.com/users/vapor/following{/other_user}","gists_url":"https://api.github.com/users/vapor/gists{/gist_id}","starred_url":"https://api.github.com/users/vapor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vapor/subscriptions","organizations_url":"https://api.github.com/users/vapor/orgs","repos_url":"https://api.github.com/users/vapor/repos","events_url":"https://api.github.com/users/vapor/events{/privacy}","received_events_url":"https://api.github.com/users/vapor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vapor/vapor","description":"💧 A server-side Swift web framework.","fork":false,"url":"https://api.github.com/repos/vapor/vapor","forks_url":"https://api.github.com/repos/vapor/vapor/forks","keys_url":"https://api.github.com/repos/vapor/vapor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vapor/vapor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vapor/vapor/teams","hooks_url":"https://api.github.com/repos/vapor/vapor/hooks","issue_events_url":"https://api.github.com/repos/vapor/vapor/issues/events{/number}","events_url":"https://api.github.com/repos/vapor/vapor/events","assignees_url":"https://api.github.com/repos/vapor/vapor/assignees{/user}","branches_url":"https://api.github.com/repos/vapor/vapor/branches{/branch}","tags_url":"https://api.github.com/repos/vapor/vapor/tags","blobs_url":"https://api.github.com/repos/vapor/vapor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vapor/vapor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vapor/vapor/git/refs{/sha}","trees_url":"https://api.github.com/repos/vapor/vapor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vapor/vapor/statuses/{sha}","languages_url":"https://api.github.com/repos/vapor/vapor/languages","stargazers_url":"https://api.github.com/repos/vapor/vapor/stargazers","contributors_url":"https://api.github.com/repos/vapor/vapor/contributors","subscribers_url":"https://api.github.com/repos/vapor/vapor/subscribers","subscription_url":"https://api.github.com/repos/vapor/vapor/subscription","commits_url":"https://api.github.com/repos/vapor/vapor/commits{/sha}","git_commits_url":"https://api.github.com/repos/vapor/vapor/git/commits{/sha}","comments_url":"https://api.github.com/repos/vapor/vapor/comments{/number}","issue_comment_url":"https://api.github.com/repos/vapor/vapor/issues/comments{/number}","contents_url":"https://api.github.com/repos/vapor/vapor/contents/{+path}","compare_url":"https://api.github.com/repos/vapor/vapor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vapor/vapor/merges","archive_url":"https://api.github.com/repos/vapor/vapor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vapor/vapor/downloads","issues_url":"https://api.github.com/repos/vapor/vapor/issues{/number}","pulls_url":"https://api.github.com/repos/vapor/vapor/pulls{/number}","milestones_url":"https://api.github.com/repos/vapor/vapor/milestones{/number}","notifications_url":"https://api.github.com/repos/vapor/vapor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vapor/vapor/labels{/name}","releases_url":"https://api.github.com/repos/vapor/vapor/releases{/id}","deployments_url":"https://api.github.com/repos/vapor/vapor/deployments","created_at":"2016-01-18T22:37:52Z","updated_at":"2017-11-04T09:42:20Z","pushed_at":"2017-11-04T12:02:58Z","git_url":"git://github.com/vapor/vapor.git","ssh_url":"git@github.com:vapor/vapor.git","clone_url":"https://github.com/vapor/vapor.git","svn_url":"https://github.com/vapor/vapor","homepage":"https://vapor.codes","size":12653,"stargazers_count":11538,"watchers_count":11538,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":632,"mirror_url":null,"archived":false,"open_issues_count":54,"forks":632,"open_issues":54,"watchers":11538,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vapor/vapor/pulls/1234"},"html":{"href":"https://github.com/vapor/vapor/pull/1234"},"issue":{"href":"https://api.github.com/repos/vapor/vapor/issues/1234"},"comments":{"href":"https://api.github.com/repos/vapor/vapor/issues/1234/comments"},"review_comments":{"href":"https://api.github.com/repos/vapor/vapor/pulls/1234/comments"},"review_comment":{"href":"https://api.github.com/repos/vapor/vapor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vapor/vapor/pulls/1234/commits"},"statuses":{"href":"https://api.github.com/repos/vapor/vapor/statuses/ad9b30fd8fec4e2ebf9b689c0607925a7074dc97"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Joannis","id":1951674,"avatar_url":"https://avatars2.githubusercontent.com/u/1951674?v=4","gravatar_id":"","url":"https://api.github.com/users/Joannis","html_url":"https://github.com/Joannis","followers_url":"https://api.github.com/users/Joannis/followers","following_url":"https://api.github.com/users/Joannis/following{/other_user}","gists_url":"https://api.github.com/users/Joannis/gists{/gist_id}","starred_url":"https://api.github.com/users/Joannis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joannis/subscriptions","organizations_url":"https://api.github.com/users/Joannis/orgs","repos_url":"https://api.github.com/users/Joannis/repos","events_url":"https://api.github.com/users/Joannis/events{/privacy}","received_events_url":"https://api.github.com/users/Joannis/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"maintainer_can_modify":false,"commits":3,"additions":111,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"Joannis"}}