This commit is contained in:
cui 2026-06-18 21:27:40 +00:00 committed by GitHub
commit ee594e8fd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -420,7 +420,7 @@ func importChain(ctx *cli.Context) error {
fmt.Printf("GC pause: %v\n\n", time.Duration(mem.PauseTotalNs))
if ctx.Bool(utils.NoCompactionFlag.Name) {
return nil
return importErr
}
// Compact the entire database to more accurately measure disk io and print the stats