cloud-sql-python-connector
cloud-sql-python-connector copied to clipboard
Add support for lazy certificate refresh
Feature Description
In serverless environments, when the CPU is throttled, the Python Connector will sometimes fail to refresh the certificate.
This is a feature request to allow callers to opt-in to a lazy refresh strategy, where no background tasks run and the cert is refreshed as needed.
Sample code
No response
Alternatives Considered
No response
Additional Details
No response
Related to https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/issues/992.
Closed via #1093