Remove old call to compact
This commit is contained in:
parent
831a1e35ea
commit
7700bb77da
1 changed files with 0 additions and 5 deletions
5
ca/ca.go
5
ca/ca.go
|
@ -599,8 +599,6 @@ func (ca *CA) runCompactJob() {
|
|||
return
|
||||
}
|
||||
|
||||
var err error
|
||||
|
||||
// Compact database at start.
|
||||
runCompact(compactor)
|
||||
|
||||
|
@ -614,9 +612,6 @@ func (ca *CA) runCompactJob() {
|
|||
return
|
||||
case <-ticker.C:
|
||||
runCompact(compactor)
|
||||
for err == nil {
|
||||
err = compactor.Compact(0.7)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue