We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ea28f commit 778a453Copy full SHA for 778a453
1 file changed
scripts/update/php-config-update.sh
@@ -40,7 +40,11 @@ calculate_php() {
40
PHP_FPM_START_SERVERS=3
41
PHP_FPM_MIN_SPARE_SERVERS=2
42
PHP_FPM_MAX_SPARE_SERVERS=5
43
- elif [[ "${CPU_COUNT}" -ge 3 && "${CPU_COUNT}" -le 4 ]]; then
+ elif [[ "${CPU_COUNT}" -eq 3 ]]; then
44
+ PHP_FPM_START_SERVERS=3
45
+ PHP_FPM_MIN_SPARE_SERVERS=3
46
+ PHP_FPM_MAX_SPARE_SERVERS=6
47
+ elif [[ "${CPU_COUNT}" -eq 4 ]]; then
48
PHP_FPM_START_SERVERS=4
49
PHP_FPM_MIN_SPARE_SERVERS=3
50
PHP_FPM_MAX_SPARE_SERVERS=6
0 commit comments