From 1c3a2c413f822826171cdc78f4c573007a0703d3 Mon Sep 17 00:00:00 2001 From: svigelj Date: Tue, 12 Feb 2019 10:29:43 +0100 Subject: [PATCH] Decreased the time of checking for update --- internal/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/update.go b/internal/update.go index 177b671..0aea25d 100644 --- a/internal/update.go +++ b/internal/update.go @@ -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) {