Use 1600ms to avoid racing
This commit is contained in:
@@ -24,8 +24,8 @@ func main() {
|
||||
|
||||
// Tickers can be stopped like timers. Once a ticker
|
||||
// is stopped it won't receive any more values on its
|
||||
// channel. We'll stop ours after 1500ms.
|
||||
time.Sleep(time.Millisecond * 1500)
|
||||
// channel. We'll stop ours after 1600ms.
|
||||
time.Sleep(time.Millisecond * 1600)
|
||||
ticker.Stop()
|
||||
fmt.Println("Ticker stopped")
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
39781500e9ccbd39282e2dce5cb8003715bfe78a
|
||||
U0PO7ZZU3l
|
||||
5d97b8ebdf36a65f0e92040bae0097f60b79e1ed
|
||||
MO3ndiv5qR
|
||||
|
||||
Reference in New Issue
Block a user