[Varnish] #1030: ban_lurker doesn't sleep for 1 sec when nothing can be done

Varnish varnish-bugs at varnish-cache.org
Mon Oct 17 14:11:51 CEST 2011


#1030: ban_lurker doesn't sleep for 1 sec when nothing can be done
----------------------+-----------------------------------------------------
 Reporter:  scoof     |        Owner:        
     Type:  defect    |       Status:  closed
 Priority:  low       |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  minor     |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by Kristian Lyngstol <kristian@…>):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [fa3b136f2169a71b63603835c69441ca37913507]) Ensure ban lurker sleeps
 1.0s on failure

 As per documentation, the ban lurker sleeps ban_lurker_sleep when it is
 successful, but on failure it should only sleep 1.0s. No point hammering
 the ban list every 0.01s if bans aren't even used.

 Fixes #1030

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1030#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list