Skip to content

Commit 2464067

Browse files
add comment
1 parent af81d94 commit 2464067

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

engine/execution/computation/metrics/provider.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ func newProvider(
3838
}
3939
}
4040

41+
// Push buffers the metrics for the given height.
42+
// The call should ensure height are called in strictly increasing order, otherwise
43+
// metrics for the skipped height will not buffered.
4144
func (p *provider) Push(
4245
height uint64,
4346
data []TransactionExecutionMetrics,

0 commit comments

Comments
 (0)