Skip to content

Commit

Permalink
More documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Apr 9, 2024
1 parent 5e1556a commit 1ec83e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ee/control/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ func (cs *ControlService) requestIntervalChanged(interval time.Duration) {
return
}

// Perform a fetch now, to retrieve data faster in case this change
// was triggered by localserver or the user clicking on the menu bar app
// instead of by a control server change.
if err := cs.Fetch(); err != nil {
// if we got an error, log it and move on
cs.slogger.Log(context.TODO(), slog.LevelWarn,
Expand Down

0 comments on commit 1ec83e6

Please sign in to comment.