diff --git a/roles/setup_pgd/tasks/pgd_parallel_processes_parameters.yml b/roles/setup_pgd/tasks/pgd_parallel_processes_parameters.yml index 27d2c1a3..7c6f3853 100644 --- a/roles/setup_pgd/tasks/pgd_parallel_processes_parameters.yml +++ b/roles/setup_pgd/tasks/pgd_parallel_processes_parameters.yml @@ -51,7 +51,7 @@ - name: Calculate required setting for max_worker_processes ansible.builtin.set_fact: - _base_max_worker_processes: "{{ (_num_pgd_nodes | int + 1*8 + 2*2 + 2 *( _num_pgd_nodes | int-1 )) + _twice_pgd_nodes | int }}" + _base_max_worker_processes: "{{ (_num_pgd_nodes | int + 1*8 + 2*2 + 2 *( _num_pgd_nodes | int - 1 )) + _twice_pgd_nodes | int }}" - name: Evaluate the current setting of max_worker_processes, max_replication_slots and max_wal_senders ansible.builtin.set_fact: