mirror of https://github.com/prometheus/prometheus
Browse Source
`safeChunk` is only obtained from the `headChunkReader.Chunk` call where the chunk is already fetched and stored with the `safeChunk`. So, when getting the iterator for the `safeChunk`, we don't need to get the chunk again. Also removed a couple of unnecessary fields from `safeChunk` as a part of this. Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>pull/12003/head
Ganesh Vernekar
2 years ago
3 changed files with 29 additions and 37 deletions
Loading…
Reference in new issue