mirror of
https://github.com/traefik/traefik.git
synced 2025-09-28 17:21:26 +02:00
Delay first version check
This commit is contained in:
parent
adef7200f6
commit
c94e5f3589
@ -361,6 +361,7 @@ func CreateKvSource(traefikConfiguration *TraefikConfiguration) (*staert.KvSourc
|
|||||||
func checkNewVersion() {
|
func checkNewVersion() {
|
||||||
ticker := time.NewTicker(24 * time.Hour)
|
ticker := time.NewTicker(24 * time.Hour)
|
||||||
safe.Go(func() {
|
safe.Go(func() {
|
||||||
|
time.Sleep(10 * time.Minute)
|
||||||
version.CheckNewVersion()
|
version.CheckNewVersion()
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user