mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
fix switch
This commit is contained in:
parent
b46a4c7772
commit
2d8e0c268d
1 changed files with 1 additions and 2 deletions
|
|
@ -127,9 +127,8 @@ func (d *Database) onCompactionEnd(info pebble.CompactionInfo) {
|
|||
d.compTime.Add(int64(time.Since(d.compStartTime)))
|
||||
case 0:
|
||||
panic("should not happen")
|
||||
default:
|
||||
d.activeComp--
|
||||
}
|
||||
d.activeComp--
|
||||
}
|
||||
|
||||
func (d *Database) onWriteStallBegin(b pebble.WriteStallBeginInfo) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue