Commit 4b0080e1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove an assert which isn't valid: we could try to LRU_Touch an

object on deathrow.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2010 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1cd3f13e
......@@ -83,7 +83,6 @@ EXP_Touch(struct object *o, double now)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment