[master] fb2be31 Send the fetch-work to a different thread.
Poul-Henning Kamp
phk at varnish-cache.org
Thu Jun 6 10:35:28 CEST 2013
commit fb2be3120750b2ad2a9ac77b0ea16dd56ca2b140
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Jun 6 08:35:16 2013 +0000
Send the fetch-work to a different thread.
diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 7358c43..9acea11 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -1034,7 +1034,7 @@ VBF_Fetch(struct worker *wrk, struct req *req)
bo->fetch_task.priv = &vsh;
bo->fetch_task.func = vbf_fetch_thread;
- // if (Pool_Task(wrk->pool, &bo->fetch_task, POOL_QUEUE_FRONT))
+ if (Pool_Task(wrk->pool, &bo->fetch_task, POOL_QUEUE_FRONT))
vbf_fetch_thread(wrk, &vsh);
while (req != NULL) {
printf("XXX\n");
More information about the varnish-commit
mailing list