Skip to content

Commit

Permalink
core/rawdb: no need to update size gauge
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed Mar 23, 2023
1 parent 4832e36 commit a4b03d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/rawdb/freezer_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,6 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i
}

// Update metrics.
t.sizeGauge.Inc(int64(totalSize))
t.readMeter.Mark(int64(totalSize))
return output[:outputSize], sizes, nil
}
Expand Down

0 comments on commit a4b03d9

Please sign in to comment.