varnish: correct an erroneous type
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 28 Oct 2014 18:24:45 +0000 (19:24 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 28 Oct 2014 18:24:45 +0000 (19:24 +0100)
Affects Varnish 3 only.

src/varnish.c

index 38efcdc..8e6d95e 100644 (file)
@@ -550,7 +550,7 @@ static void varnish_monitor (const user_config_t *conf, /* {{{ */
                /* worker threads limited */
                varnish_submit_derive (conf->instance, "workers", "total_threads", "limited",     stats->n_wrk_max);
                /* dropped work requests */
-               varnish_submit_derive (conf->instance, "workers", "total_requests", "dropped",    stats->n_wrk_drop);
+               varnish_submit_derive (conf->instance, "workers", "total_threads", "dropped",     stats->n_wrk_drop);
 #ifdef HAVE_VARNISH_V2
                /* queued work requests */
                varnish_submit_derive (conf->instance, "workers", "total_requests", "queued",     stats->n_wrk_queue);