Commit 2a0de6d8 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vsc: Introduce MAIN.s_bgfetch

parent e1b0a930
......@@ -434,6 +434,12 @@
:group: wrk
:oneliner: Total backend fetches initiated
Total backend fetches initiated, including background fetches.
.. varnish_vsc:: s_bgfetch
:group: wrk
:oneliner: Total backend background fetches initiated
.. varnish_vsc:: s_synth
:group: wrk
......
......@@ -597,6 +597,8 @@ cnt_lookup(struct worker *wrk, struct req *req)
CHECK_OBJ_NOTNULL(busy->boc, BOC_MAGIC);
// XXX: shouldn't we go to miss?
VBF_Fetch(wrk, req, busy, oc, VBF_BACKGROUND);
wrk->stats->s_fetch++;
wrk->stats->s_bgfetch++;
} else {
(void)VRB_Ignore(req);// XXX: handle err
}
......
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