{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/hound/pulls/comments/34135862","id":34135862,"diff_hunk":"@@ -2,8 +2,13 @@ development: &default\n   adapter: postgresql\n   encoding: unicode\n   database: hound_development\n-  pool: 5\n+  pool: <%= ENV.fetch(\"DB_POOL\", 5) %>\n+  reaping_frequency: <%= ENV.fetch(\"DB_REAPING_FREQUENCY\", 10) %>\n \n test:\n   <<: *default\n   database: hound_test\n+\n+production:\n+  pool: <%= [ENV.fetch(\"MAX_THREADS\", 5), ENV.fetch(\"DB_POOL\", 5)].max %>\n+  url:  <%= ENV.fetch(\"DATABASE_URL\", \"\") %>","path":"config/database.yml","position":14,"original_position":14,"commit_id":"3fc62c81346e2f6ae1ebff368463297eae1dc76b","original_commit_id":"3fc62c81346e2f6ae1ebff368463297eae1dc76b","user":{"login":"teoljungberg","id":810650,"avatar_url":"https://avatars.githubusercontent.com/u/810650?v=3","gravatar_id":"","url":"https://api.github.com/users/teoljungberg","html_url":"https://github.com/teoljungberg","followers_url":"https://api.github.com/users/teoljungberg/followers","following_url":"https://api.github.com/users/teoljungberg/following{/other_user}","gists_url":"https://api.github.com/users/teoljungberg/gists{/gist_id}","starred_url":"https://api.github.com/users/teoljungberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teoljungberg/subscriptions","organizations_url":"https://api.github.com/users/teoljungberg/orgs","repos_url":"https://api.github.com/users/teoljungberg/repos","events_url":"https://api.github.com/users/teoljungberg/events{/privacy}","received_events_url":"https://api.github.com/users/teoljungberg/received_events","type":"User","site_admin":false},"body":"What does the heroku guides say?","created_at":"2015-07-08T10:55:12Z","updated_at":"2015-07-08T10:55:12Z","html_url":"https://github.com/thoughtbot/hound/pull/846#discussion_r34135862","pull_request_url":"https://api.github.com/repos/thoughtbot/hound/pulls/846","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/hound/pulls/comments/34135862"},"html":{"href":"https://github.com/thoughtbot/hound/pull/846#discussion_r34135862"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/hound/pulls/846"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/hound/pulls/846","id":39427411,"html_url":"https://github.com/thoughtbot/hound/pull/846","diff_url":"https://github.com/thoughtbot/hound/pull/846.diff","patch_url":"https://github.com/thoughtbot/hound/pull/846.patch","issue_url":"https://api.github.com/repos/thoughtbot/hound/issues/846","number":846,"state":"open","locked":false,"title":"Replace unicorn with puma","user":{"login":"beedub","id":102646,"avatar_url":"https://avatars.githubusercontent.com/u/102646?v=3","gravatar_id":"","url":"https://api.github.com/users/beedub","html_url":"https://github.com/beedub","followers_url":"https://api.github.com/users/beedub/followers","following_url":"https://api.github.com/users/beedub/following{/other_user}","gists_url":"https://api.github.com/users/beedub/gists{/gist_id}","starred_url":"https://api.github.com/users/beedub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beedub/subscriptions","organizations_url":"https://api.github.com/users/beedub/orgs","repos_url":"https://api.github.com/users/beedub/repos","events_url":"https://api.github.com/users/beedub/events{/privacy}","received_events_url":"https://api.github.com/users/beedub/received_events","type":"User","site_admin":false},"body":"This essentially follows heroku and suspenders' guide for using puma.\r\n\r\nFixes https://github.com/thoughtbot/hound/issues/845","created_at":"2015-07-07T23:21:46Z","updated_at":"2015-07-08T10:55:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c79364e066c2be99eb183edd3847b62a4c07ede6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/hound/pulls/846/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/hound/pulls/846/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/hound/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/hound/issues/846/comments","statuses_url":"https://api.github.com/repos/thoughtbot/hound/statuses/3fc62c81346e2f6ae1ebff368463297eae1dc76b","head":{"label":"CrowdFlower:puma","ref":"puma","sha":"3fc62c81346e2f6ae1ebff368463297eae1dc76b","user":{"login":"CrowdFlower","id":1879135,"avatar_url":"https://avatars.githubusercontent.com/u/1879135?v=3","gravatar_id":"","url":"https://api.github.com/users/CrowdFlower","html_url":"https://github.com/CrowdFlower","followers_url":"https://api.github.com/users/CrowdFlower/followers","following_url":"https://api.github.com/users/CrowdFlower/following{/other_user}","gists_url":"https://api.github.com/users/CrowdFlower/gists{/gist_id}","starred_url":"https://api.github.com/users/CrowdFlower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrowdFlower/subscriptions","organizations_url":"https://api.github.com/users/CrowdFlower/orgs","repos_url":"https://api.github.com/users/CrowdFlower/repos","events_url":"https://api.github.com/users/CrowdFlower/events{/privacy}","received_events_url":"https://api.github.com/users/CrowdFlower/received_events","type":"Organization","site_admin":false},"repo":{"id":38715272,"name":"hound","full_name":"CrowdFlower/hound","owner":{"login":"CrowdFlower","id":1879135,"avatar_url":"https://avatars.githubusercontent.com/u/1879135?v=3","gravatar_id":"","url":"https://api.github.com/users/CrowdFlower","html_url":"https://github.com/CrowdFlower","followers_url":"https://api.github.com/users/CrowdFlower/followers","following_url":"https://api.github.com/users/CrowdFlower/following{/other_user}","gists_url":"https://api.github.com/users/CrowdFlower/gists{/gist_id}","starred_url":"https://api.github.com/users/CrowdFlower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrowdFlower/subscriptions","organizations_url":"https://api.github.com/users/CrowdFlower/orgs","repos_url":"https://api.github.com/users/CrowdFlower/repos","events_url":"https://api.github.com/users/CrowdFlower/events{/privacy}","received_events_url":"https://api.github.com/users/CrowdFlower/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CrowdFlower/hound","description":"Review your Ruby, JavaScript, CoffeeScript, and SCSS code for style guide violations with a trusty hound.","fork":true,"url":"https://api.github.com/repos/CrowdFlower/hound","forks_url":"https://api.github.com/repos/CrowdFlower/hound/forks","keys_url":"https://api.github.com/repos/CrowdFlower/hound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CrowdFlower/hound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CrowdFlower/hound/teams","hooks_url":"https://api.github.com/repos/CrowdFlower/hound/hooks","issue_events_url":"https://api.github.com/repos/CrowdFlower/hound/issues/events{/number}","events_url":"https://api.github.com/repos/CrowdFlower/hound/events","assignees_url":"https://api.github.com/repos/CrowdFlower/hound/assignees{/user}","branches_url":"https://api.github.com/repos/CrowdFlower/hound/branches{/branch}","tags_url":"https://api.github.com/repos/CrowdFlower/hound/tags","blobs_url":"https://api.github.com/repos/CrowdFlower/hound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CrowdFlower/hound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CrowdFlower/hound/git/refs{/sha}","trees_url":"https://api.github.com/repos/CrowdFlower/hound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CrowdFlower/hound/statuses/{sha}","languages_url":"https://api.github.com/repos/CrowdFlower/hound/languages","stargazers_url":"https://api.github.com/repos/CrowdFlower/hound/stargazers","contributors_url":"https://api.github.com/repos/CrowdFlower/hound/contributors","subscribers_url":"https://api.github.com/repos/CrowdFlower/hound/subscribers","subscription_url":"https://api.github.com/repos/CrowdFlower/hound/subscription","commits_url":"https://api.github.com/repos/CrowdFlower/hound/commits{/sha}","git_commits_url":"https://api.github.com/repos/CrowdFlower/hound/git/commits{/sha}","comments_url":"https://api.github.com/repos/CrowdFlower/hound/comments{/number}","issue_comment_url":"https://api.github.com/repos/CrowdFlower/hound/issues/comments{/number}","contents_url":"https://api.github.com/repos/CrowdFlower/hound/contents/{+path}","compare_url":"https://api.github.com/repos/CrowdFlower/hound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CrowdFlower/hound/merges","archive_url":"https://api.github.com/repos/CrowdFlower/hound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CrowdFlower/hound/downloads","issues_url":"https://api.github.com/repos/CrowdFlower/hound/issues{/number}","pulls_url":"https://api.github.com/repos/CrowdFlower/hound/pulls{/number}","milestones_url":"https://api.github.com/repos/CrowdFlower/hound/milestones{/number}","notifications_url":"https://api.github.com/repos/CrowdFlower/hound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CrowdFlower/hound/labels{/name}","releases_url":"https://api.github.com/repos/CrowdFlower/hound/releases{/id}","created_at":"2015-07-07T21:15:29Z","updated_at":"2015-07-07T21:15:30Z","pushed_at":"2015-07-08T05:14:07Z","git_url":"git://github.com/CrowdFlower/hound.git","ssh_url":"git@github.com:CrowdFlower/hound.git","clone_url":"https://github.com/CrowdFlower/hound.git","svn_url":"https://github.com/CrowdFlower/hound","homepage":"https://houndci.com","size":15684,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"046c509c2e15c3fe94b8a1302d42dbe43eefbfac","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":7411076,"name":"hound","full_name":"thoughtbot/hound","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/hound","description":"Review your Ruby, JavaScript, CoffeeScript, and SCSS code for style guide violations with a trusty hound.","fork":false,"url":"https://api.github.com/repos/thoughtbot/hound","forks_url":"https://api.github.com/repos/thoughtbot/hound/forks","keys_url":"https://api.github.com/repos/thoughtbot/hound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/hound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/hound/teams","hooks_url":"https://api.github.com/repos/thoughtbot/hound/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/hound/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/hound/events","assignees_url":"https://api.github.com/repos/thoughtbot/hound/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/hound/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/hound/tags","blobs_url":"https://api.github.com/repos/thoughtbot/hound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/hound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/hound/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/hound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/hound/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/hound/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/hound/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/hound/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/hound/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/hound/subscription","commits_url":"https://api.github.com/repos/thoughtbot/hound/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/hound/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/hound/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/hound/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/hound/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/hound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/hound/merges","archive_url":"https://api.github.com/repos/thoughtbot/hound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/hound/downloads","issues_url":"https://api.github.com/repos/thoughtbot/hound/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/hound/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/hound/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/hound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/hound/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/hound/releases{/id}","created_at":"2013-01-02T18:12:40Z","updated_at":"2015-07-07T06:38:41Z","pushed_at":"2015-07-08T05:14:08Z","git_url":"git://github.com/thoughtbot/hound.git","ssh_url":"git@github.com:thoughtbot/hound.git","clone_url":"https://github.com/thoughtbot/hound.git","svn_url":"https://github.com/thoughtbot/hound","homepage":"https://houndci.com","size":15684,"stargazers_count":947,"watchers_count":947,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":197,"mirror_url":null,"open_issues_count":35,"forks":197,"open_issues":35,"watchers":947,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/hound/pulls/846"},"html":{"href":"https://github.com/thoughtbot/hound/pull/846"},"issue":{"href":"https://api.github.com/repos/thoughtbot/hound/issues/846"},"comments":{"href":"https://api.github.com/repos/thoughtbot/hound/issues/846/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/hound/pulls/846/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/hound/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/hound/pulls/846/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/hound/statuses/3fc62c81346e2f6ae1ebff368463297eae1dc76b"}}}}