Skip to content

Commit

Permalink
Updating php defaults pr 2.x (#2147)
Browse files Browse the repository at this point in the history
* Updating-php-defaults

* Updating-php-defaults

* Updating-php-defaults
  • Loading branch information
drazenCE authored Dec 13, 2024
1 parent 2740a8a commit e52a546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/debian/php-fpm/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ php:
# It is important to scale up processes on bigger servers, so that more
# requests can be handled. Double the number of vCPUs is a good default.
# Can be between 5 and 64.
max_children: "{{ [5, (ansible_facts.ansible_processor_nproc | default(1)) * 2, 64] | max }}" # Fallback in case ansible_processor_nproc is not gathered before tasks
max_children: "{{ [5, [(ansible_facts.ansible_processor_nproc | default(1)) * 2, 64] | min] | max }}" # Fallback in case ansible_processor_nproc is not gathered before tasks
start_servers: 2
min_spare_servers: 1
max_spare_servers: 3
Expand Down

0 comments on commit e52a546

Please sign in to comment.