Don't allow locked or suspended clients to limit the size of active clients.

This commit is contained in:
Nicholas Marriott
2009-09-24 07:02:56 +00:00
parent fecf8dc44e
commit 1764ef81ef
4 changed files with 6 additions and 2 deletions

View File

@ -1194,8 +1194,10 @@ server_second_timers(void)
t = time(NULL);
xtimeout = options_get_number(&global_s_options, "lock-after-time");
if (xtimeout > 0 && t > server_activity + xtimeout)
if (xtimeout > 0 && t > server_activity + xtimeout) {
server_lock();
recalculate_sizes();
}
for (i = 0; i < ARRAY_LENGTH(&windows); i++) {
w = ARRAY_ITEM(&windows, i);