Skip to content

Commit

Permalink
Gzip level 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Sep 15, 2023
1 parent 7f0ae7a commit 9940fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmtiles/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func Stats(logger *log.Logger, file string) error {
// once it has received all results, it terminates
lastTask := int(header.TileContentsCount) - 1
go func() {
gzWriter := gzip.NewWriter(output)
gzWriter, _ := gzip.NewWriterLevel(output,gzip.BestSpeed)
defer gzWriter.Close()

csvWriter := csv.NewWriter(gzWriter)
Expand Down

0 comments on commit 9940fe6

Please sign in to comment.