From: serassio <> Date: Thu, 23 Dec 2004 00:37:37 +0000 (+0000) Subject: Fix client db scheduling logics - Forward port of 2.5 fix. X-Git-Tag: SQUID_3_0_PRE4~948 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85ca72181c002bdb9fe9b495226d753408eee852;p=thirdparty%2Fsquid.git Fix client db scheduling logics - Forward port of 2.5 fix. --- diff --git a/src/client_db.cc b/src/client_db.cc index 19adde0015..5c96dd2b13 100644 --- a/src/client_db.cc +++ b/src/client_db.cc @@ -1,6 +1,6 @@ /* - * $Id: client_db.cc,v 1.61 2004/12/20 16:30:35 robertc Exp $ + * $Id: client_db.cc,v 1.62 2004/12/22 17:37:37 serassio Exp $ * * DEBUG: section 0 Client Database * AUTHOR: Duane Wessels @@ -62,7 +62,7 @@ clientdbAdd(struct in_addr addr) hash_join(client_table, &c->hash); statCounter.client_http.clients++; - if ((statCounter.client_http.clients > max_clients) && !cleanup_running && !cleanup_scheduled < 2) + if ((statCounter.client_http.clients > max_clients) && !cleanup_running && cleanup_scheduled < 2) { cleanup_scheduled++; eventAdd("client_db garbage collector", clientdbScheduledGC, NULL, 90, 0);