Added slow consumers to varz, fixed reporting bug

This commit is contained in:
Derek Collison
2015-07-14 14:55:36 -07:00
parent e1bfe2076b
commit 4dd23e0f2d
3 changed files with 24 additions and 20 deletions

View File

@@ -63,10 +63,11 @@ type Server struct {
}
type stats struct {
inMsgs int64
outMsgs int64
inBytes int64
outBytes int64
inMsgs int64
outMsgs int64
inBytes int64
outBytes int64
slowConsumers int64
}
// New will setup a new server struct after parsing the options.