client: reconnect more quickly if it's a dial error (#2240)

This commit is contained in:
fatedier
2021-02-18 16:15:35 +08:00
committed by GitHub
parent 976fd81d4d
commit 8fcd4f4a95
9 changed files with 20 additions and 14 deletions

View File

@@ -175,7 +175,7 @@ func TestHealthCheck(t *testing.T) {
defer frpsProcess.Stop()
}
time.Sleep(100 * time.Millisecond)
time.Sleep(500 * time.Millisecond)
frpcProcess := util.NewProcess(consts.FRPC_SUB_BIN_PATH, []string{"-c", frpcCfgPath})
err = frpcProcess.Start()