WIP Prepare postgres for migration by replication
This commit is contained in:
@@ -56,7 +56,9 @@ action :create do
|
||||
timezone: "UTC", # default is GMT
|
||||
listen_addresses: "0.0.0.0",
|
||||
promote_trigger_file: "#{postgresql_data_dir}/failover.trigger",
|
||||
wal_keep_size: 4096 # 256 segments, 16MB each
|
||||
wal_level: "logical",
|
||||
wal_keep_size: 4096, # 256 segments, 16MB each
|
||||
max_replication_slots: 16
|
||||
}
|
||||
|
||||
postgresql_server_conf "main" do
|
||||
|
||||
Reference in New Issue
Block a user