Add a helpful comment
This commit is contained in:
parent
6ca2a14819
commit
93f7cbe587
1
extern/storage-sealing/commit_batch.go
vendored
1
extern/storage-sealing/commit_batch.go
vendored
@ -108,6 +108,7 @@ func (b *CommitBatcher) run() {
|
|||||||
}
|
}
|
||||||
lastMsg = nil
|
lastMsg = nil
|
||||||
|
|
||||||
|
// indicates whether we should only start a batch if we have reached or exceeded cfg.MaxCommitBatch
|
||||||
var sendAboveMax bool
|
var sendAboveMax bool
|
||||||
select {
|
select {
|
||||||
case <-b.stop:
|
case <-b.stop:
|
||||||
|
Loading…
Reference in New Issue
Block a user