Skip to content

Commit

Permalink
Update automation/vars/main.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Vitaliy Kukharik <[email protected]>
  • Loading branch information
klention and vitabaks authored Dec 16, 2024
1 parent f4b5e81 commit 12d5196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ postgresql_parameters:
- { option: "wal_receiver_status_interval", value: "10s" }
- { option: "idle_in_transaction_session_timeout", value: "10min" } # reduce this timeout if possible
- { option: "jit", value: "off" }
- { option: "max_worker_processes", value: "{{ ansible_processor_nproc | int }}" }
- { option: "max_parallel_workers", value: "{{ ansible_processor_nproc | int }}" }
- { option: "max_worker_processes", value: "{{ [ansible_processor_vcpus | int, 16] | max }}" }
- { option: "max_parallel_workers", value: "{{ [(ansible_processor_vcpus | int // 2), 8] | max }}" }
- { option: "max_parallel_workers_per_gather", value: "2" }
- { option: "max_parallel_maintenance_workers", value: "2" }
- { option: "tcp_keepalives_count", value: "10" }
Expand Down

0 comments on commit 12d5196

Please sign in to comment.