This commit is contained in:
Łukasz Magiera 2020-08-18 18:27:28 +02:00
parent baf91f08a1
commit e7d65be90a
7 changed files with 20 additions and 22 deletions

View File

@ -56,4 +56,3 @@ var PprofGoroutines = &cli.Command{
return r.Body.Close()
},
}

View File

@ -13,4 +13,3 @@ type Config struct {
WaitDealsDelay time.Duration
}

View File

@ -7,6 +7,7 @@ import (
)
type statSectorState int
const (
sstSealing statSectorState = iota
sstFailed
@ -35,7 +36,6 @@ func (ss *SectorStats) updateSector(id abi.SectorID, st SectorState) {
ss.totals[sst]++
}
// return the number of sectors currently in the sealing pipeline
func (ss *SectorStats) curSealing() uint64 {
ss.lk.Lock()