GoogleCloudPlatform / cloud-sql-jdbc-socket-factory

A collection of Java libraries for connecting securely to Cloud SQL
Apache License 2.0
234 stars 119 forks source link

feat: Retry API calls that return a 500 error #2041

Closed hessjcg closed 4 months ago

hessjcg commented 4 months ago

This updates the retry logic for API calls made by the connector:

This also implements the exponential backoff logic defined used in the go connector. See: https://github.com/GoogleCloudPlatform/cloud-sql-go-connector/pull/781

enocom commented 4 months ago

This should be a "feature" -- it will have a noticeable usability change.