[master] d5db14b Retire POOL_NO_QUEUE, we don't use it.
Poul-Henning Kamp
phk at FreeBSD.org
Tue Jun 9 22:31:25 CEST 2015
commit d5db14b2cf75c65ec5b298d1ddf8d6c4410c346d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jun 9 19:44:54 2015 +0000
Retire POOL_NO_QUEUE, we don't use it.
diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 3c38a04..72a61f9 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -314,7 +314,6 @@ struct pool_task {
};
enum pool_how {
- POOL_NO_QUEUE,
POOL_QUEUE_FRONT,
POOL_QUEUE_BACK
};
diff --git a/bin/varnishd/cache/cache_wrk.c b/bin/varnishd/cache/cache_wrk.c
index ee8bd5e..dd370e0 100644
--- a/bin/varnishd/cache/cache_wrk.c
+++ b/bin/varnishd/cache/cache_wrk.c
@@ -245,9 +245,6 @@ Pool_Task(struct pool *pp, struct pool_task *task, enum pool_how how)
}
switch (how) {
- case POOL_NO_QUEUE:
- retval = -1;
- break;
case POOL_QUEUE_FRONT:
/* If we have too much in the queue already, refuse. */
if (pp->lqueue > cache_param->wthread_queue_limit) {
More information about the varnish-commit
mailing list