Search squid archive

Re: storeDirWriteCleanLogs() blocking queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux