fix test break

pull/1713/head v3.2
Darien Raymond 2017-12-14 23:57:04 +01:00
parent 4fad49fef8
commit 6c3ef146f1
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}()