Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Commit

Permalink
Decreased the time of checking for update
Browse files Browse the repository at this point in the history
  • Loading branch information
svigelj committed Feb 12, 2019
1 parent 665c22b commit 1c3a2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func timeToCheckForUpdate() (bool, error) {
return false, err
}

return latestTime.Add(time.Hour * 3).Before(timeNow), nil
return latestTime.Add(time.Minute * 15).Before(timeNow), nil
}

func isUpdateAvailable() (string, bool) {
Expand Down

0 comments on commit 1c3a2c4

Please sign in to comment.