r2010 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Sep 24 14:58:14 CEST 2007
Author: phk
Date: 2007-09-24 14:58:14 +0200 (Mon, 24 Sep 2007)
New Revision: 2010
Modified:
trunk/varnish-cache/bin/varnishd/cache_expire.c
Log:
Remove an assert which isn't valid: we could try to LRU_Touch an
object on deathrow.
Modified: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c 2007-09-24 12:27:54 UTC (rev 2009)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c 2007-09-24 12:58:14 UTC (rev 2010)
@@ -83,7 +83,6 @@
if (o->lru_stamp + params->lru_timeout < now) {
LOCK(&exp_mtx); /* XXX: should be ..._TRY */
if (o->heap_idx != lru_target) {
- assert(o->heap_idx != 0);
TAILQ_REMOVE(&exp_lru, o, deathrow);
TAILQ_INSERT_TAIL(&exp_lru, o, deathrow);
o->lru_stamp = now;
More information about the varnish-commit
mailing list