Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jxhczhl authored Jul 9, 2023
1 parent 7f69f14 commit 6a09c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func checkTimeout(c2 chan string) {
// 100ms检查一次
for i := 0; i < defaultTimeout*10; i++ {
if len(c2) > 0 {
break
return
}
time.Sleep(time.Millisecond * 100)
}
Expand Down

0 comments on commit 6a09c37

Please sign in to comment.