core/rawdb: update freezertable read meter (#26946)

The meter for "for measuring the effective amount of data read" within the freezertable was never updated. This change remedies that. 
---------

Signed-off-by: jsvisa <delweng@gmail.com>
pull/26937/head
Delweng 2 years ago committed by GitHub
parent 20f8eb756b
commit 7f3fc15a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      core/rawdb/freezer_table.go

@ -823,6 +823,9 @@ func (t *freezerTable) retrieveItems(start, count, maxBytes uint64) ([]byte, []i
break break
} }
} }
// Update metrics.
t.readMeter.Mark(int64(totalSize))
return output[:outputSize], sizes, nil return output[:outputSize], sizes, nil
} }

Loading…
Cancel
Save