Delay first version check

This commit is contained in:
Emile Vauge 2017-10-05 08:42:02 +02:00 committed by Traefiker
parent adef7200f6
commit c94e5f3589

View file

@ -361,6 +361,7 @@ func CreateKvSource(traefikConfiguration *TraefikConfiguration) (*staert.KvSourc
func checkNewVersion() {
ticker := time.NewTicker(24 * time.Hour)
safe.Go(func() {
time.Sleep(10 * time.Minute)
version.CheckNewVersion()
for {
select {