mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
⚡️ fix update delay
This commit is contained in:
parent
fe5cfeb12a
commit
7ead75e669
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user