Dynamically Extend Grace Period

Cosimo Streppone cosimo at streppone.it
Mon Feb 21 07:20:27 CET 2011


On Wed, 16 Feb 2011 00:53:31 +1100, Per Buer <perbu at varnish-software.com>  
wrote:

> On Tue, Feb 15, 2011 at 2:07 PM, Vince <cooltechemail at gmail.com> wrote:
>>
>> I am wondering if I can dynamically extend grace period. For example,
>> currently I have beresp.grace = 10m. If something bad happens to the  
>> backend
>
> [...]
>
> Sort of. You could set the grace period to, say 2 hours, on the beresp
> object and then set the req.grace period to 10min. Then, when
> something bad hits the fan you increase the grace period in vcl_recv.

Assuming 2.1+, would the proper (for some meaning of proper)
way to do this to use saint mode?

-- 
Cosimo



More information about the varnish-misc mailing list