mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
Compact LevelDB in aptly db cleanup. #19
This commit is contained in:
1 parent
b13e50a570
commit
6a42aad322
11 files changed
+37
No files matched your search
@@ -143,6 +143,10 @@ func aptlyDbCleanup(cmd *commander.Command, args []string) error {
|
||||
|
||||
context.progress.Printf("Disk space freed: %.2f GiB...\n", float64(totalSize)/1024.0/1024.0/1024.0)
|
||||
}
|
||||
|
||||
context.progress.Printf("Compacting database...\n")
|
||||
err = context.database.CompactDB()
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user