Skip to content

Commit

Permalink
Remove bad comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrownus committed Jul 27, 2023
1 parent f4d28fc commit 38a0a75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lighthouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,6 @@ func (lh *LightHouse) StartUpdateWorker() {

clockSource := time.NewTicker(time.Second * time.Duration(interval))
updateCtx, cancel := context.WithCancel(lh.ctx)
// We seem to have a race right here, the first caller never gets canceled because the updateCancel is set by the 2nd?
lh.updateCancel = cancel

go func() {
Expand Down

0 comments on commit 38a0a75

Please sign in to comment.