forked from TrueCloudLab/certificates
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
var err error
|
|
||||||
|
|
||||||
// Compact database at start.
|
// Compact database at start.
|
||||||
runCompact(compactor)
|
runCompact(compactor)
|
||||||
|
|
||||||
|
@ -614,9 +612,6 @@ func (ca *CA) runCompactJob() {
|
||||||
return
|
return
|
||||||
case <-ticker.C:
|
case <-ticker.C:
|
||||||
runCompact(compactor)
|
runCompact(compactor)
|
||||||
for err == nil {
|
|
||||||
err = compactor.Compact(0.7)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue