Selaa lähdekoodia

Change host PKA default to 20s

gabrielseibel1 2 vuotta sitten
vanhempi
commit
81f5dd6768
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      migrate/migrate.go

+ 1 - 1
migrate/migrate.go

@@ -102,7 +102,7 @@ func updateHosts() {
 			continue
 		}
 		if host.PersistentKeepalive == 0 {
-			host.PersistentKeepalive = 20 * time.Millisecond
+			host.PersistentKeepalive = 20 * time.Second
 			if err := logic.UpsertHost(&host); err != nil {
 				logger.Log(0, "failed to upsert host", host.ID.String())
 				continue