From bdcbf83d9e4615a5460db292d22dea96c4d53f8b Mon Sep 17 00:00:00 2001 From: Dan Pupius Date: Wed, 16 Oct 2013 10:51:16 -0700 Subject: [PATCH] HTTPPool increments Group.Stats.ServerRequests --- http.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http.go b/http.go index af329b5..ae69a63 100644 --- a/http.go +++ b/http.go @@ -130,6 +130,8 @@ func (p *HTTPPool) ServeHTTP(w http.ResponseWriter, r *http.Request) { if p.Context != nil { ctx = p.Context(r) } + + group.Stats.ServerRequests.Add(1) var value []byte err = group.Get(ctx, key, AllocatingByteSliceSink(&value)) if err != nil {