Browse Source

完善log

dcsunny 4 years ago
parent
commit
0df3834819
1 changed files with 1 additions and 2 deletions
  1. 1 2
      common/global_wait_group.go

+ 1 - 2
common/global_wait_group.go

@@ -80,10 +80,9 @@ func (this *globalWaitGroup) Wait() {
 	}
 	}
 	select {
 	select {
 	case <-this.ok:
 	case <-this.ok:
-		fmt.Println("没有任务而结束")
 		return
 		return
 	case <-time.After(time.Second * time.Duration(diff)):
 	case <-time.After(time.Second * time.Duration(diff)):
-		fmt.Println("超时结束")
+		fmt.Println("全局waitgroup,超时结束")
 		return
 		return
 	}
 	}
 }
 }