Skip to content

Commit 4304fba

Browse files
tanjinxClaude
andcommitted
Add missing consul connection flags to vtcombo.txt
Adds topo_consul_idle_conn_timeout, topo_consul_max_conns_per_host, and topo_consul_max_idle_conns flags to vtcombo.txt to match vtgate.txt. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com> Signed-off-by: Tanjin Xu <tanjin.xu@slack-corp.com>
1 parent 9661f09 commit 4304fba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

go/flags/endtoend/vtcombo.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,12 @@ Flags:
366366
--tablet_types_to_wait strings Wait till connected for specified tablet types during Gateway initialization. Should be provided as a comma-separated set of tablet types.
367367
--tablet_url_template string Format string describing debug tablet url formatting. See getTabletDebugURL() for how to customize this. (default "http://{{ "{{.GetTabletHostPort}}" }}")
368368
--throttle_tablet_types string Comma separated VTTablet types to be considered by the throttler. default: 'replica'. example: 'replica,rdonly'. 'replica' always implicitly included (default "replica")
369+
--topo_consul_idle_conn_timeout duration Maximum amount of time to pool idle connections. (default 1m30s)
369370
--topo_consul_lock_delay duration LockDelay for consul session. (default 15s)
370371
--topo_consul_lock_session_checks string List of checks for consul session. (default "serfHealth")
371372
--topo_consul_lock_session_ttl string TTL for consul session.
373+
--topo_consul_max_conns_per_host int Maximum number of consul connections per host.
374+
--topo_consul_max_idle_conns int Maximum number of idle consul connections. (default 100)
372375
--topo_consul_watch_poll_duration duration time of the long poll for watch queries. (default 30s)
373376
--topo_etcd_lease_ttl int Lease TTL for locks and leader election. The client will use KeepAlive to keep the lease going. (default 30)
374377
--topo_etcd_tls_ca string path to the ca to use to validate the server cert when connecting to the etcd topo server

0 commit comments

Comments
 (0)