projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090877d
)
Increase maximum number of database replication connections
author
Tom Hughes
<tom@compton.nu>
Thu, 21 Sep 2017 18:28:18 +0000
(19:28 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 21 Sep 2017 18:28:18 +0000
(19:28 +0100)
roles/db-master.rb
patch
|
blob
|
history
diff --git
a/roles/db-master.rb
b/roles/db-master.rb
index ae33b625c252e01a2563863368af0ed994d47c6b..89659c7ad6bcb69f0e43fd82a1f5b93b688f746c 100644
(file)
--- a/
roles/db-master.rb
+++ b/
roles/db-master.rb
@@
-9,7
+9,7
@@
default_attributes(
:wal_level => "hot_standby",
:archive_mode => "on",
:archive_command => "/bin/cp %p /store/postgresql/archive/%f",
- :max_wal_senders => "
2
",
+ :max_wal_senders => "
3
",
:late_authentication_rules => [
{ :database => "replication", :user => "replication", :address => "146.179.159.168/32" },
{ :database => "replication", :user => "replication", :address => "146.179.159.170/32" },