What's the purpose of this chech!

From: <cachemail@dont-contact.us>
Date: Tue, 31 Oct 2000 17:19:02 +0330 (IRT)

Dear squid-dev
 I saw the following line in the storeAufsOpen function in the
 ./src/store_io_asyncufs.c file. Using of this is rational, because
 it prevents the squid from being overload.

" while (aioQueueSize() > MAGIC1)
        return NULL;"

 MAGIC1 is defined in the upper part as:
#define MAGIC1 (NUMTHREADS/Config.cacheSwap.n_configured/2)

 I do not know what's the reason for defining the MAGIC1 in this way?
 Please let me know more informatiom in this regard.

Best Regards,
V.Fk
Received on Tue Oct 31 2000 - 06:52:20 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:53 MST