️ fix update delay

This commit is contained in:
naiba 2020-11-30 13:49:31 +08:00
parent fe5cfeb12a
commit 7ead75e669

View File

@ -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)