Yes, you're all right. It did work. I was worried if the existing pools
would get "reset" once time changes from 23:59 to 00:00. It did not, and
I'm so happy. :)
There is another question about delay_pools though. I want to have two
different delay_pools for different times:
24000/32000000 during 10:00-18:00, and
16000/16000000 during 18:00-02:00
For this, I had to define two different delay_class with different
delay_parameters. The problem with this setup is, when the switch over
happens at 18:00hrs, the old delay pool stats are not maintained. So,
someone who had (almost) zero bucket size, suddenly gets a full bucket size.
Is there a way to avoid this and make it work in a single delay_class?
Regards
HASSAN
----- Original Message -----
From: "Henrik Nordstrom" <henrik_at_henriknordstrom.net>
To: "Chris Robertson" <crobertson_at_gci.net>
Cc: "Squid Users" <squid-users_at_squid-cache.org>
Sent: Friday, December 12, 2008 15:42
Subject: Re: [squid-users] Time based ACL
> On Thu, 2008-12-11 at 13:54 -0900, Chris Robertson wrote:
>
>> Is it possible to combine multiple times, so acl "t" if defined like...
>>
>> acl t time 18:00-23:59
>> acl t time 00:00-02:00
>>
>> ...would work as requested?
>
> Yes, should work.
>
> Was broken some (several) years ago, but should work in all current
> releases-
>
> Regards
> Henrik
>
>
>
Received on Fri Dec 12 2008 - 18:36:58 MST
This archive was generated by hypermail 2.2.0 : Sat Dec 13 2008 - 12:00:01 MST