Skip to content

Commit

Permalink
Print progress for each 1000 finished request in httpget.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed Jan 16, 2013
1 parent d34b269 commit ce4d808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/shadowsocks-httpget/httpget.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func get(connid int, uri, serverAddr string, rawAddr []byte, cipher ss.Cipher, d
}
reqTime[reqDone] = time.Now().Sub(start)

if (reqDone+1)%100 == 0 {
if (reqDone+1)%1000 == 0 {
fmt.Printf("conn %d finished %d get requests\n", connid, reqDone+1)
}
}
Expand Down

0 comments on commit ce4d808

Please sign in to comment.