cmptest: jsondemo (todo)

This commit is contained in:
xushiwei
2024-07-29 01:56:39 +08:00
parent 4cd1629118
commit 53c2558d26
3 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ func main() {
select {
case m := <-c:
handle(m)
case <-time.After(10 * time.Second):
case <-time.After(time.Second / 10):
fmt.Println("timed out")
}
}