fix format

This commit is contained in:
Eva Ho 2025-12-17 17:36:10 -05:00
parent 880b4f95b4
commit 0eb320e74c
1 changed files with 3 additions and 3 deletions

View File

@ -290,10 +290,10 @@ func (u *Updater) StartBackgroundUpdaterChecker(ctx context.Context, cb func(str
go func() {
// Don't blast an update message immediately after startup
time.Sleep(UpdateCheckInitialDelay)
slog.Info("beginning update checker", "interval", UpdateCheckInterval)
slog.Info("beginning update checker", "interval", UpdateCheckInterval)
ticker := time.NewTicker(UpdateCheckInterval)
defer ticker.Stop()
for {
select {
case <-ctx.Done():
@ -304,7 +304,7 @@ func (u *Updater) StartBackgroundUpdaterChecker(ctx context.Context, cb func(str
case <-ticker.C:
// Regular interval check
}
// Check if auto-update is enabled
settings, err := u.Store.Settings()
if err != nil {