cloudflared-mirror/orchestration
João "Pisco" Fernandes b187879e69 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
2025-02-03 03:42:50 -08:00
..
config.go TUN-8236: Add write timeout to quic and tcp connections 2024-02-15 17:54:52 +00:00
config_test.go TUN-7776: Remove warp-routing flag from cloudflared 2023-09-18 10:02:56 +01:00
metrics.go TUN-5703: Add prometheus metric for current configuration version 2022-03-14 16:50:23 +00:00
orchestrator.go TUN-8914: Add a new configuration to locally override the max-active-flows 2025-02-03 03:42:50 -08:00
orchestrator_test.go TUN-8914: Add a new configuration to locally override the max-active-flows 2025-02-03 03:42:50 -08:00