1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-09 20:50:34 +08:00

TUN-7275: Make QuickTunnels only use a single connection to the edge

This commit is contained in:
João Oliveirinha
2023-03-13 10:20:58 +00:00
parent be341fa055
commit f686da832f
5 changed files with 14 additions and 4 deletions

View File

@@ -73,6 +73,9 @@ func RunQuickTunnel(sc *subcommandContext) error {
sc.c.Set("protocol", "quic")
}
// Override the number of connections used. Quick tunnels shouldn't be used for production usage,
// so, use a single connection instead.
sc.c.Set(haConnectionsFlag, "1")
return StartServer(
sc.c,
buildInfo,