r1110 - in branches/1.0: . bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Wed Sep 20 17:46:05 CEST 2006


Author: des
Date: 2006-09-20 17:46:05 +0200 (Wed, 20 Sep 2006)
New Revision: 1110

Modified:
   branches/1.0/
   branches/1.0/bin/varnishd/cache_pool.c
Log:
 r31738 at cat (orig r1107):  phk | 2006-09-20 16:52:07 +0200
 Examine queue length, not how many have passed through the queue over all time.
 
 MFC: yes.
 



Property changes on: branches/1.0
___________________________________________________________________
Name: svk:merge
   - d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1101
   + d4fa192b-c00b-0410-8231-f00ffab90ce4:/trunk/varnish-cache:1107

Modified: branches/1.0/bin/varnishd/cache_pool.c
===================================================================
--- branches/1.0/bin/varnishd/cache_pool.c	2006-09-20 15:43:57 UTC (rev 1109)
+++ branches/1.0/bin/varnishd/cache_pool.c	2006-09-20 15:46:05 UTC (rev 1110)
@@ -303,7 +303,7 @@
 	 * the result will be
 	 */
 	if (sp->obj == NULL &&
-	    (VSL_stats->n_wrk_overflow >
+	    (VSL_stats->n_wrk_queue >
 	    (params->wthread_max * params->overflow_max) / 100)) {
 		VSL_stats->n_wrk_drop++;
 		UNLOCK(&tmtx);




More information about the varnish-commit mailing list