use best compression

This commit is contained in:
Zack Scholl 2018-09-25 07:31:21 -07:00
parent 1a22d37c2d
commit 196c9253b8
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
// Compress returns a compressed byte slice.
func Compress(src []byte) []byte {
compressedData := new(bytes.Buffer)
compress(src, compressedData, 1)
compress(src, compressedData, 9)
return compressedData.Bytes()
}