diff options
Diffstat (limited to 'sapi/fpm/fpm/fpm_process_ctl.c')
-rw-r--r-- | sapi/fpm/fpm/fpm_process_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fpm/fpm/fpm_process_ctl.c b/sapi/fpm/fpm/fpm_process_ctl.c index a2f0f935e4..d8c0bc30d1 100644 --- a/sapi/fpm/fpm/fpm_process_ctl.c +++ b/sapi/fpm/fpm/fpm_process_ctl.c @@ -431,7 +431,7 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ zlog(ZLOG_DEBUG, "[pool %s] %d child(ren) have been created dynamically", wp->config->name, children_to_fork); /* Double the spawn rate for the next iteration */ - if (wp->idle_spawn_rate < FPM_MAX_SPAWN_RATE) { + if (wp->idle_spawn_rate < wp->config->pm_max_spawn_rate) { wp->idle_spawn_rate *= 2; } continue; |