GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Add support for `--failover-period` flag

オープン
#2,386 コメント 0 件 リアクション 0 件 担当者 1 名 @hessjcg に割り当て済み GitHub で見る
priority: p1 type: feature request
主要言語
Go
スター
1.4k
フォーク
352
平均マージ
14時間 54分
マージ済み PR(30日)
5

説明

We need to add a flag for configuring the underlying failover period for
disaster recovery when Proxy is configured with a DNS domain name.

The flag will just set the `WithFailoverPeriod()` Option for the Cloud SQL Go Connector under the hood.

> The connector will poll for changes to the DNS name every 30 seconds by default.
You may configure the frequency of the connections using the option
`WithFailoverPeriod(d time.Duration)`. When this is set to 0, the connector will
disable polling and only check if the DNS record changed when it is
creating a new connection.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。