Close brotli stream
This commit is contained in:
parent
b72feeb68c
commit
e4f93dc382
1
main.go
1
main.go
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user