]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/postgresql/attributes/default.rb
Default wal_level to replica
[chef.git] / cookbooks / postgresql / attributes / default.rb
index fd1afcea1f66fb82f9c53df6c02b7f0e543a1c74..54a224345121ac15af47adaac4d686ecdc1a3d62 100644 (file)
@@ -13,7 +13,7 @@ default[:postgresql][:settings][:defaults][:effective_io_concurrency] = "1"
 default[:postgresql][:settings][:defaults][:max_worker_processes] = "8"
 default[:postgresql][:settings][:defaults][:max_parallel_workers_per_gather] = "2"
 default[:postgresql][:settings][:defaults][:max_parallel_workers] = "8"
-default[:postgresql][:settings][:defaults][:wal_level] = "minimal"
+default[:postgresql][:settings][:defaults][:wal_level] = "replica"
 default[:postgresql][:settings][:defaults][:fsync] = "on"
 default[:postgresql][:settings][:defaults][:synchronous_commit] = "on"
 default[:postgresql][:settings][:defaults][:wal_buffers] = "-1"