Set nicer default Patroni values re: replication
This commit is contained in:
parent
dbf6e52f3c
commit
e118267843
|
@ -17,6 +17,10 @@ bootstrap:
|
||||||
maximum_lag_on_failover: 1048576
|
maximum_lag_on_failover: 1048576
|
||||||
postgresql:
|
postgresql:
|
||||||
use_pg_rewind: true
|
use_pg_rewind: true
|
||||||
|
parameters:
|
||||||
|
wal_keep_segments: 64
|
||||||
|
max_wal_senders: 8
|
||||||
|
max_replication_slots: 8
|
||||||
|
|
||||||
initdb:
|
initdb:
|
||||||
- encoding: UTF8
|
- encoding: UTF8
|
||||||
|
@ -55,6 +59,9 @@ postgresql:
|
||||||
password: '{{ pvc_superuser_database_password }}'
|
password: '{{ pvc_superuser_database_password }}'
|
||||||
parameters:
|
parameters:
|
||||||
unix_socket_directories: '/run/postgresql'
|
unix_socket_directories: '/run/postgresql'
|
||||||
|
wal_keep_segments: 64
|
||||||
|
max_wal_senders: 8
|
||||||
|
max_replication_slots: 8
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
nofailover: false
|
nofailover: false
|
||||||
|
|
Loading…
Reference in New Issue