Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: use lazy refresh for Cloud SQL Connector#86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
averikitsch merged 1 commit intomainfromlazy-refresh-connector
Jul 2, 2024

Conversation

jackwotherspoon
Copy link
Contributor

The Cloud SQL Python Connector just released a new versionv1.10.0
that supports setting therefresh_strategy argument of the connector.

Setting the refresh strategy to lazy refresh is recommended for
serverless environments. As the default refresh strategy is to
have background refreshes occur to get the instance metadata and a fresh
certificate to use for the SSL/TLS connection.

However, these background refreshes can be throttled when serverless
environments scale to zero (Cloud Functions, Cloud Run etc.).

This PR will fix the ambiguous errors that are a result of the CPU being
throttled for the Cloud SQL Connector.

@jackwotherspoonjackwotherspoon self-assigned thisJun 26, 2024
@jackwotherspoonjackwotherspoon requested review froma team ascode ownersJune 26, 2024 20:10
@product-auto-labelproduct-auto-labelbot added the api: cloudsql-mysqlIssues related to the googleapis/langchain-google-cloud-sql-mysql-python API. labelJun 26, 2024
@averikitschaverikitsch merged commit58591d5 intomainJul 2, 2024
13 checks passed
@averikitschaverikitsch deleted the lazy-refresh-connector branchJuly 2, 2024 22:13
@release-pleaserelease-pleasebot mentioned this pull requestJul 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@averikitschaverikitschaverikitsch approved these changes

Assignees

@jackwotherspoonjackwotherspoon

Labels
api: cloudsql-mysqlIssues related to the googleapis/langchain-google-cloud-sql-mysql-python API.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jackwotherspoon@averikitsch

[8]ページ先頭

©2009-2025 Movatter.jp