Skip to content

Commit 673ffd8

Browse files
committed
run VACUUM after creating archive index SQLite db
1 parent 049524a commit 673ffd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/storage/archive_index.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ pub(crate) fn create<R: io::Read + io::Seek, P: AsRef<Path>>(
107107

108108
conn.execute("CREATE INDEX idx_files_path ON files (path);", ())?;
109109
conn.execute("END", ())?;
110+
conn.execute("VACUUM", ())?;
110111

111112
Ok(())
112113
}

0 commit comments

Comments
 (0)