You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TUN-8914: Add a new configuration to locally override the max-active-flows
## Summary
This commit introduces a new command line flag, `--max-active-flows`, which allows overriding the remote configuration for the maximum number of active flows.
The flag can be used with the `run` command, like `cloudflared tunnel --no-autoupdate run --token <TUNNEL_TOKEN> --max-active-flows 50000`, or set via an environment variable `TUNNEL_MAX_ACTIVE_FLOWS`.
Note that locally-set values always take precedence over remote settings, even if the tunnel is remotely managed.
Closes TUN-8914
Copy file name to clipboardExpand all lines: cmd/cloudflared/tunnel/cmd.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ var (
126
126
routeFailMsg=fmt.Sprintf("failed to provision routing, please create it manually via Cloudflare dashboard or UI; "+
127
127
"most likely you already have a conflicting record there. You can also rerun this command with --%s to overwrite "+
128
128
"any existing DNS records for this hostname.", overwriteDNSFlag)
129
-
errDeprecatedClassicTunnel=fmt.Errorf("Classic tunnels have been deprecated, please use Named Tunnels. (https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/)")
129
+
errDeprecatedClassicTunnel=errors.New("Classic tunnels have been deprecated, please use Named Tunnels. (https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/)")
130
130
// TODO: TUN-8756 the list below denotes the flags that do not possess any kind of sensitive information
131
131
// however this approach is not maintainble in the long-term.
0 commit comments