From: hno <> Date: Sun, 6 Jul 2003 21:30:42 +0000 (+0000) Subject: Bugfix: Speed up processing of queued events significantly, to not cause X-Git-Tag: SQUID_3_0_PRE1~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=615f95816ad1a7699e453460f8b69c794188c683;p=thirdparty%2Fsquid.git Bugfix: Speed up processing of queued events significantly, to not cause large delays when under low load. --- diff --git a/src/main.cc b/src/main.cc index f11abe7220..e0b8547923 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.382 2003/07/06 15:29:35 hno Exp $ + * $Id: main.cc,v 1.383 2003/07/06 15:30:42 hno Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -1117,12 +1117,12 @@ main(int argc, char **argv) /* Attempt any pending storedir IO */ storeDirCallback(); - /* twice to deal with indirectly queued events + comm_calliocallback(); + + /* and again to deal with indirectly queued events * resulting from the first call. These are usually * callbacks and should be dealt with immediately. */ - comm_calliocallback(); - if (comm_iocallbackpending()) comm_calliocallback();