{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/parity/pulls/comments/83285213","pull_request_review_id":4139630,"id":83285213,"diff_hunk":"@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|\n   spec.license = \"MIT\"\n   spec.name = \"parity\"\n   spec.require_paths = [\"lib\"]\n+  spec.required_ruby_version = \">= 2.2.0\"","path":"parity.gemspec","position":4,"original_position":4,"commit_id":"6ed685acffe52313dab86992a2f0fd568e221a3d","original_commit_id":"6ed685acffe52313dab86992a2f0fd568e221a3d","user":{"login":"geoffharcourt","id":319471,"avatar_url":"https://avatars.githubusercontent.com/u/319471?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffharcourt","html_url":"https://github.com/geoffharcourt","followers_url":"https://api.github.com/users/geoffharcourt/followers","following_url":"https://api.github.com/users/geoffharcourt/following{/other_user}","gists_url":"https://api.github.com/users/geoffharcourt/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffharcourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffharcourt/subscriptions","organizations_url":"https://api.github.com/users/geoffharcourt/orgs","repos_url":"https://api.github.com/users/geoffharcourt/repos","events_url":"https://api.github.com/users/geoffharcourt/events{/privacy}","received_events_url":"https://api.github.com/users/geoffharcourt/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2016-10-13T18:46:27Z","updated_at":"2016-10-13T18:46:27Z","html_url":"https://github.com/thoughtbot/parity/pull/107#discussion_r83285213","pull_request_url":"https://api.github.com/repos/thoughtbot/parity/pulls/107","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/parity/pulls/comments/83285213"},"html":{"href":"https://github.com/thoughtbot/parity/pull/107#discussion_r83285213"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/parity/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/parity/pulls/107","id":89238899,"html_url":"https://github.com/thoughtbot/parity/pull/107","diff_url":"https://github.com/thoughtbot/parity/pull/107.diff","patch_url":"https://github.com/thoughtbot/parity/pull/107.patch","issue_url":"https://api.github.com/repos/thoughtbot/parity/issues/107","number":107,"state":"open","locked":false,"title":"Run pg_restore using multiple concurrent jobs","user":{"login":"croaky","id":198,"avatar_url":"https://avatars.githubusercontent.com/u/198?v=3","gravatar_id":"","url":"https://api.github.com/users/croaky","html_url":"https://github.com/croaky","followers_url":"https://api.github.com/users/croaky/followers","following_url":"https://api.github.com/users/croaky/following{/other_user}","gists_url":"https://api.github.com/users/croaky/gists{/gist_id}","starred_url":"https://api.github.com/users/croaky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croaky/subscriptions","organizations_url":"https://api.github.com/users/croaky/orgs","repos_url":"https://api.github.com/users/croaky/repos","events_url":"https://api.github.com/users/croaky/events{/privacy}","received_events_url":"https://api.github.com/users/croaky/received_events","type":"User","site_admin":false},"body":"> Run the most time-consuming parts of pg_restore — those which load\n> data, create indexes, or create constraints — using multiple\n> concurrent jobs. This option can dramatically reduce the time to\n> restore a large database to a server running on a multiprocessor\n> machine.\n\n> Each job is one process or one thread, depending on the operating\n> system, and uses a separate connection to the server.\n\n> The optimal value for this option depends on the hardware setup of the\n> server, of the client, and of the network. Factors include the number\n> of CPU cores and the disk setup. A good place to start is the number\n> of CPU cores on the server, but values larger than that can also lead\n> to faster restore times in many cases. Of course, values that are too\n> high will lead to decreased performance because of thrashing.\n\n> Only the custom archive format is supported with this option. The\n> input file must be a regular file (not, for example, a pipe). This\n> option is ignored when emitting a script rather than connecting\n> directly to a database server. Also, multiple jobs cannot be used\n> together with the option --single-transaction.\n\nhttps://www.postgresql.org/docs/9.2/static/app-pgrestore.html","created_at":"2016-10-13T16:39:33Z","updated_at":"2016-10-13T18:46:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f67269ac620fc8e6d26b2254a995429bb02e3be","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/parity/pulls/107/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/parity/pulls/107/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/parity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/parity/issues/107/comments","statuses_url":"https://api.github.com/repos/thoughtbot/parity/statuses/6ed685acffe52313dab86992a2f0fd568e221a3d","head":{"label":"thoughtbot:parallel-pg-restore","ref":"parallel-pg-restore","sha":"6ed685acffe52313dab86992a2f0fd568e221a3d","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":10021706,"name":"parity","full_name":"thoughtbot/parity","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/parity","description":"Shell commands for development, staging, and production parity for Heroku apps","fork":false,"url":"https://api.github.com/repos/thoughtbot/parity","forks_url":"https://api.github.com/repos/thoughtbot/parity/forks","keys_url":"https://api.github.com/repos/thoughtbot/parity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/parity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/parity/teams","hooks_url":"https://api.github.com/repos/thoughtbot/parity/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/parity/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/parity/events","assignees_url":"https://api.github.com/repos/thoughtbot/parity/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/parity/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/parity/tags","blobs_url":"https://api.github.com/repos/thoughtbot/parity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/parity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/parity/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/parity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/parity/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/parity/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/parity/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/parity/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/parity/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/parity/subscription","commits_url":"https://api.github.com/repos/thoughtbot/parity/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/parity/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/parity/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/parity/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/parity/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/parity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/parity/merges","archive_url":"https://api.github.com/repos/thoughtbot/parity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/parity/downloads","issues_url":"https://api.github.com/repos/thoughtbot/parity/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/parity/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/parity/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/parity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/parity/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/parity/releases{/id}","deployments_url":"https://api.github.com/repos/thoughtbot/parity/deployments","created_at":"2013-05-13T00:30:12Z","updated_at":"2016-10-11T20:01:25Z","pushed_at":"2016-10-13T18:16:58Z","git_url":"git://github.com/thoughtbot/parity.git","ssh_url":"git@github.com:thoughtbot/parity.git","clone_url":"https://github.com/thoughtbot/parity.git","svn_url":"https://github.com/thoughtbot/parity","homepage":"https://thoughtbot.com/open-source","size":155,"stargazers_count":425,"watchers_count":425,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":5,"forks":32,"open_issues":5,"watchers":425,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"af08f6ea760acdcb72cad82e413a478b2a9170c3","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":10021706,"name":"parity","full_name":"thoughtbot/parity","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/parity","description":"Shell commands for development, staging, and production parity for Heroku apps","fork":false,"url":"https://api.github.com/repos/thoughtbot/parity","forks_url":"https://api.github.com/repos/thoughtbot/parity/forks","keys_url":"https://api.github.com/repos/thoughtbot/parity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/parity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/parity/teams","hooks_url":"https://api.github.com/repos/thoughtbot/parity/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/parity/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/parity/events","assignees_url":"https://api.github.com/repos/thoughtbot/parity/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/parity/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/parity/tags","blobs_url":"https://api.github.com/repos/thoughtbot/parity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/parity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/parity/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/parity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/parity/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/parity/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/parity/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/parity/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/parity/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/parity/subscription","commits_url":"https://api.github.com/repos/thoughtbot/parity/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/parity/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/parity/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/parity/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/parity/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/parity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/parity/merges","archive_url":"https://api.github.com/repos/thoughtbot/parity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/parity/downloads","issues_url":"https://api.github.com/repos/thoughtbot/parity/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/parity/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/parity/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/parity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/parity/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/parity/releases{/id}","deployments_url":"https://api.github.com/repos/thoughtbot/parity/deployments","created_at":"2013-05-13T00:30:12Z","updated_at":"2016-10-11T20:01:25Z","pushed_at":"2016-10-13T18:16:58Z","git_url":"git://github.com/thoughtbot/parity.git","ssh_url":"git@github.com:thoughtbot/parity.git","clone_url":"https://github.com/thoughtbot/parity.git","svn_url":"https://github.com/thoughtbot/parity","homepage":"https://thoughtbot.com/open-source","size":155,"stargazers_count":425,"watchers_count":425,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":5,"forks":32,"open_issues":5,"watchers":425,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/parity/pulls/107"},"html":{"href":"https://github.com/thoughtbot/parity/pull/107"},"issue":{"href":"https://api.github.com/repos/thoughtbot/parity/issues/107"},"comments":{"href":"https://api.github.com/repos/thoughtbot/parity/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/parity/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/parity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/parity/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/parity/statuses/6ed685acffe52313dab86992a2f0fd568e221a3d"}}}}
{"actor":{"display_login":"geoffharcourt"}}