2
0
Эх сурвалжийг харах

Change host PKA default to 20s

gabrielseibel1 2 жил өмнө
parent
commit
81f5dd6768
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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