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