remove fmt.Println("using gzip..."...
This commit is contained in:
parent
32bfd63df1
commit
7c22a2ec54
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user