瀏覽代碼

Change host PKA default to 20s

gabrielseibel1 2 年之前
父節點
當前提交
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