Close brotli stream

This commit is contained in:
Timmy Welch 2023-11-12 00:32:39 -08:00
parent b72feeb68c
commit e4f93dc382

View File

@ -260,6 +260,7 @@ func download(current time.Time) {
sqlite_reader := io.TeeReader(sqlite, sqlite_file)
br := brotli.NewWriterLevel(sqlite_br_file, 5)
defer br.Close()
log.Printf("starting compression of %s to %s\n", sqlite_filename, sqlite_br_filename)