commit | bdcbf83d9e4615a5460db292d22dea96c4d53f8b | [log] [tgz] |
---|---|---|
author | Dan Pupius <dan@medium.com> | Wed Oct 16 10:51:16 2013 -0700 |
committer | Dan Pupius <dan@medium.com> | Wed Oct 16 10:57:19 2013 -0700 |
tree | b39425ed1228832941a5868c5513b7941d67f1a7 | |
parent | 5fd3de064f6653bb340d2e7f2cd67d1d51050a21 [diff] |
HTTPPool increments Group.Stats.ServerRequests
diff --git a/http.go b/http.go index af329b5..ae69a63 100644 --- a/http.go +++ b/http.go
@@ -130,6 +130,8 @@ 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 {