From 7ead75e669c49f8cfe77bdbf6189c45e0a382700 Mon Sep 17 00:00:00 2001 From: naiba Date: Mon, 30 Nov 2020 13:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20fix=20update=20delay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/agent/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/agent/main.go b/cmd/agent/main.go index e76c753..2541bc6 100644 --- a/cmd/agent/main.go +++ b/cmd/agent/main.go @@ -41,7 +41,7 @@ var ( func doSelfUpdate() { defer func() { - time.Sleep(time.Second * 3) + time.Sleep(time.Minute * 20) updateCh <- struct{}{} }() v := semver.MustParse(version)