- Fixed bug #55486 (status show BIG processes number)

This commit is contained in:
Jérôme Loyet 2011-10-08 19:50:26 +00:00
parent 7b57d87400
commit d546fae741

View File

@ -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 */