add stat tracking for blob download. stream download will always say 0

This commit is contained in:
Alex Grintsvayg 2019-05-01 15:42:23 -04:00
parent fa2ec38d3e
commit 2e81b1ab03
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -271,6 +271,7 @@ func (s *Server) handleCompositeRequest(data []byte) ([]byte, error) {
BlobHash: GetBlobHash(blob),
Length: len(blob),
}
s.stats.AddBlob()
}
}