소스 검색

完善log

dcsunny 4 년 전
부모
커밋
0df3834819
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      common/global_wait_group.go

+ 1 - 2
common/global_wait_group.go

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