From fbbb0b860c5888f5748c7bd31eaad783bf7ddb4e Mon Sep 17 00:00:00 2001 From: Esme Lamb Date: Thu, 9 Jan 2025 15:01:05 +1100 Subject: [PATCH] misnamed flag --- go/vt/vtgateproxy/mysql_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgateproxy/mysql_server.go b/go/vt/vtgateproxy/mysql_server.go index ea0105fe9fe..f07755b18d0 100644 --- a/go/vt/vtgateproxy/mysql_server.go +++ b/go/vt/vtgateproxy/mysql_server.go @@ -60,7 +60,7 @@ var ( mysqlProxyProtocol = flag.Bool("proxy_protocol", false, "Enable HAProxy PROXY protocol on MySQL listener socket") mysqlConnBufferPooling = flag.Bool("mysql_conn_buffer_pooling", false, "Enable mysql conn buffer pooling.") mysqlKeepAlivePeriod = flag.Duration("mysql-server-keepalive-period", 0*time.Second, "TCP period between keep-alives") - mysqlServerFlushDelay = flag.Duration("mysql-server-keepalive-period", 100*time.Millisecond, "TCP period between keep-alives") + mysqlServerFlushDelay = flag.Duration("mysql-server-flush-delay", 100*time.Millisecond, "TCP period between keep-alives") mysqlServerRequireSecureTransport = flag.Bool("mysql_server_require_secure_transport", false, "Reject insecure connections but only if mysql_server_ssl_cert and mysql_server_ssl_key are provided")