{"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments/74627353","id":74627353,"diff_hunk":"@@ -191,13 +191,14 @@ vacuum_cost_delay = 20ms        # 0-100 milliseconds\n                 # number of seconds; 0 disables\n \n {% if hot_standby_server|default(None) %}\n-wal_level = hot_standby\n archive_mode = on\n archive_command = 'rsync -a %p postgres@{{ hot_standby_server }}:{{ archive_dir }}/%f'   # archive directory lives on first standby machine specified in the inventory file\n \n-max_wal_senders = 3\n {% endif %}\n \n+wal_level = hot_standby\n+max_wal_senders = 3\n+","path":"ansible/roles/postgresql/templates/postgresql.conf.j2","position":13,"original_position":13,"commit_id":"a0dc48a52445aa1b827d2b8cf0f3080687ef0985","original_commit_id":"a0dc48a52445aa1b827d2b8cf0f3080687ef0985","user":{"login":"calellowitz","id":6844721,"avatar_url":"https://avatars.githubusercontent.com/u/6844721?v=3","gravatar_id":"","url":"https://api.github.com/users/calellowitz","html_url":"https://github.com/calellowitz","followers_url":"https://api.github.com/users/calellowitz/followers","following_url":"https://api.github.com/users/calellowitz/following{/other_user}","gists_url":"https://api.github.com/users/calellowitz/gists{/gist_id}","starred_url":"https://api.github.com/users/calellowitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calellowitz/subscriptions","organizations_url":"https://api.github.com/users/calellowitz/orgs","repos_url":"https://api.github.com/users/calellowitz/repos","events_url":"https://api.github.com/users/calellowitz/events{/privacy}","received_events_url":"https://api.github.com/users/calellowitz/received_events","type":"User","site_admin":false},"body":"This allows us to use the same backup scripts on clusters that have a standby and ones that don't, and according to postgres docs, raising the `wal_level` should not have an impact on performance. ","created_at":"2016-08-12T17:20:27Z","updated_at":"2016-08-12T17:20:27Z","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/499#discussion_r74627353","pull_request_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments/74627353"},"html":{"href":"https://github.com/dimagi/commcarehq-ansible/pull/499#discussion_r74627353"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499"}}},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499","id":81153192,"html_url":"https://github.com/dimagi/commcarehq-ansible/pull/499","diff_url":"https://github.com/dimagi/commcarehq-ansible/pull/499.diff","patch_url":"https://github.com/dimagi/commcarehq-ansible/pull/499.patch","issue_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/499","number":499,"state":"open","locked":false,"title":"Ce/pg dump","user":{"login":"calellowitz","id":6844721,"avatar_url":"https://avatars.githubusercontent.com/u/6844721?v=3","gravatar_id":"","url":"https://api.github.com/users/calellowitz","html_url":"https://github.com/calellowitz","followers_url":"https://api.github.com/users/calellowitz/followers","following_url":"https://api.github.com/users/calellowitz/following{/other_user}","gists_url":"https://api.github.com/users/calellowitz/gists{/gist_id}","starred_url":"https://api.github.com/users/calellowitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calellowitz/subscriptions","organizations_url":"https://api.github.com/users/calellowitz/orgs","repos_url":"https://api.github.com/users/calellowitz/repos","events_url":"https://api.github.com/users/calellowitz/events{/privacy}","received_events_url":"https://api.github.com/users/calellowitz/received_events","type":"User","site_admin":false},"body":"The old cron job wasnt being run, which i think had to with `/etc/crontab` not being reloaded but im not sure. This cron method works, and is the same as we use for the purging of the cache files on the shared drive. I also cut down how long we keep the weekly backups to free up some space.\r\n@czue @snopoke","created_at":"2016-08-12T17:19:09Z","updated_at":"2016-08-12T17:20:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66936e7e70f9f7101b8e739c3a1e6778f3c250f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499/comments","review_comment_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/499/comments","statuses_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/a0dc48a52445aa1b827d2b8cf0f3080687ef0985","head":{"label":"dimagi:ce/pg-dump","ref":"ce/pg-dump","sha":"a0dc48a52445aa1b827d2b8cf0f3080687ef0985","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":22074543,"name":"commcarehq-ansible","full_name":"dimagi/commcarehq-ansible","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcarehq-ansible","description":"","fork":false,"url":"https://api.github.com/repos/dimagi/commcarehq-ansible","forks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/forks","keys_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/teams","hooks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/events","assignees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/tags","blobs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscription","commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/merges","archive_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/downloads","issues_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/deployments","created_at":"2014-07-21T18:04:26Z","updated_at":"2016-01-19T13:00:50Z","pushed_at":"2016-08-12T17:19:09Z","git_url":"git://github.com/dimagi/commcarehq-ansible.git","ssh_url":"git@github.com:dimagi/commcarehq-ansible.git","clone_url":"https://github.com/dimagi/commcarehq-ansible.git","svn_url":"https://github.com/dimagi/commcarehq-ansible","homepage":null,"size":1927,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":12,"forks":3,"open_issues":12,"watchers":2,"default_branch":"master"}},"base":{"label":"dimagi:master","ref":"master","sha":"e5053533484687e67d7731641a1d567eb13c16f0","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":22074543,"name":"commcarehq-ansible","full_name":"dimagi/commcarehq-ansible","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars.githubusercontent.com/u/94514?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcarehq-ansible","description":"","fork":false,"url":"https://api.github.com/repos/dimagi/commcarehq-ansible","forks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/forks","keys_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/teams","hooks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/events","assignees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/tags","blobs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscription","commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/merges","archive_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/downloads","issues_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/deployments","created_at":"2014-07-21T18:04:26Z","updated_at":"2016-01-19T13:00:50Z","pushed_at":"2016-08-12T17:19:09Z","git_url":"git://github.com/dimagi/commcarehq-ansible.git","ssh_url":"git@github.com:dimagi/commcarehq-ansible.git","clone_url":"https://github.com/dimagi/commcarehq-ansible.git","svn_url":"https://github.com/dimagi/commcarehq-ansible","homepage":null,"size":1927,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":12,"forks":3,"open_issues":12,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499"},"html":{"href":"https://github.com/dimagi/commcarehq-ansible/pull/499"},"issue":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/499"},"comments":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/499/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499/comments"},"review_comment":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/499/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/a0dc48a52445aa1b827d2b8cf0f3080687ef0985"}}}}
{"actor":{"display_login":"calellowitz"}}