remove fmt.Println("using gzip..."...

This commit is contained in:
yzqzss 2024-06-08 16:27:34 +08:00
parent 32bfd63df1
commit 7c22a2ec54

View File

@ -190,7 +190,7 @@ func (t *Tracker) InsertItem(task Task, item_status string, status_type string,
var err error
if ENABLE_GZIP && float64(gzBuf.Len())/float64(len_encodedData) < 0.95 { // good compression rate
fmt.Println("using gzip...", gzBuf.Len())
// fmt.Println("using gzip...", gzBuf.Len())
// req, err = http.NewRequest("POST", req_url, gzBuf)
req, err = http.NewRequest("POST", req_url, gzBuf)
if err != nil {