diff options
| author | Jérôme Loyet <fat@php.net> | 2011-10-08 19:50:26 +0000 |
|---|---|---|
| committer | Jérôme Loyet <fat@php.net> | 2011-10-08 19:50:26 +0000 |
| commit | d546fae7415ece0feaf58da18e65ce3e0bd914d0 (patch) | |
| tree | e38f49b4708f0e6f8b40665af14f6005728630f3 /sapi | |
| parent | 7b57d8740003ae65ff2ce219b5f092bc27bcab40 (diff) | |
| download | php-git-d546fae7415ece0feaf58da18e65ce3e0bd914d0.tar.gz | |
- Fixed bug #55486 (status show BIG processes number)
Diffstat (limited to 'sapi')
| -rw-r--r-- | sapi/fpm/fpm/fpm_process_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/fpm/fpm/fpm_process_ctl.c b/sapi/fpm/fpm/fpm_process_ctl.c index 5e7ca5d900..027b566bb2 100644 --- a/sapi/fpm/fpm/fpm_process_ctl.c +++ b/sapi/fpm/fpm/fpm_process_ctl.c @@ -317,7 +317,7 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ int idle = 0; int active = 0; int children_to_fork; - unsigned cur_lq; + unsigned cur_lq = 0; if (wp->config == NULL) continue; @@ -352,8 +352,8 @@ static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ } #endif } - fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); } + fpm_scoreboard_update(idle, active, cur_lq, -1, -1, -1, FPM_SCOREBOARD_ACTION_SET, wp->scoreboard); /* the rest is only used by PM_STYLE_DYNAMIC */ |
