Explorar el Código

Change host PKA default to 20s

gabrielseibel1 hace 2 años
padre
commit
81f5dd6768
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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