Commit 7e33d637 authored by 李伟@五瓣科技's avatar 李伟@五瓣科技

count batch hash

parent ed57a11b
...@@ -49,8 +49,6 @@ func Start(redisAddr, passwd string) { ...@@ -49,8 +49,6 @@ func Start(redisAddr, passwd string) {
logTicker := time.NewTicker(5 * time.Second) logTicker := time.NewTicker(5 * time.Second)
count := 0
for { for {
limiter.Wait(cxt) limiter.Wait(cxt)
select { select {
...@@ -89,8 +87,6 @@ func Start(redisAddr, passwd string) { ...@@ -89,8 +87,6 @@ func Start(redisAddr, passwd string) {
panic(err) panic(err)
} }
count++
hashstr := []string{} hashstr := []string{}
for _, v := range hashs { for _, v := range hashs {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment