Selaa lähdekoodia

fix test break

Darien Raymond 8 vuotta sitten
vanhempi
commit
6c3ef146f1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      common/signal/timer.go

+ 1 - 1
common/signal/timer.go

@@ -33,7 +33,7 @@ func (t *ActivityTimer) run(ctx context.Context, cancel context.CancelFunc) {
 		return
 	}
 
-	ticker := time.NewTicker(<-t.timeout)
+	ticker := time.NewTicker(timeout)
 	defer func() {
 		ticker.Stop()
 	}()