️ 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() { func doSelfUpdate() {
defer func() { defer func() {
time.Sleep(time.Second * 3) time.Sleep(time.Minute * 20)
updateCh <- struct{}{} updateCh <- struct{}{}
}() }()
v := semver.MustParse(version) v := semver.MustParse(version)