Re: [squid-users] storeDirWriteCleanLogs() blocking queries

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 09 Oct 2008 00:06:42 +0200

On ons, 2008-10-08 at 14:39 +1300, Amos Jeffries wrote:

> How about a global 'skip' timer like that used to silence NAT errors?
>
> if(last_cleanup < squid_curtime - 3600) {
> last_cleanup = squid_curtime;
> storeDirWriteCleanLogs();
> }
>
> That way it doesn't need a new signal, but still gets run at reasonable
> regularity. 3600, 86400 or similar maybe.

It doesn't really help when you want control over when the swap.state
cleanup runs..

We really should get that command channel in place instead of using
signals for these kinds of things..

Regards
Henrik

Received on Wed Oct 08 2008 - 22:06:50 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 09 2008 - 12:00:02 MDT