GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-proxy

Add support for `--failover-period` flag

Abierto
#2,386 0 comentarios 0 reacciones 1 asignado Asignado a @hessjcg Ver en GitHub
priority: p1 type: feature request
Lenguaje dominante
Go
Estrellas
1.4k
Forks
352
Merge medio
14 h 54 min
PR fusionados (30 d)
5

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.