Fix typo in comment
This commit is contained in:
parent
cbf69f6ded
commit
b3966ab4eb
@ -49,7 +49,7 @@ func (t *TimedCacheBlockstore) Start(_ context.Context) error {
|
|||||||
t.closeCh = make(chan struct{})
|
t.closeCh = make(chan struct{})
|
||||||
|
|
||||||
// Create this timer before starting the goroutine. Otherwise, creating the timer will race
|
// Create this timer before starting the goroutine. Otherwise, creating the timer will race
|
||||||
// with addint time to the mock clock, and we could add time _first_, then stall waiting for
|
// with adding time to the mock clock, and we could add time _first_, then stall waiting for
|
||||||
// a timer that'll never fire.
|
// a timer that'll never fire.
|
||||||
ticker := t.clock.Ticker(t.interval)
|
ticker := t.clock.Ticker(t.interval)
|
||||||
go func() {
|
go func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user