-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: silent refresh errors on active connection (#219)
When an instance already have active connections, it should not throw errors when trying to refresh cloud instance certificates in the background. Otherwise these errors will bubble up and stop the end user application. This changeset fixes it by adding a more resilient system to the CloudSQLInstance refresh logic that silents errors occurred during refresh and keeps valid certificate data that can be used if a refresh is still ongoing or if any error happens when during a refresh. Fixes: #201 Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
- Loading branch information
1 parent
a998db6
commit 41a8e79
Showing
5 changed files
with
497 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.