This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve GCE resources refresh mechanism.
Couple of things in this CL: = Keep per-zone/per-region cache. This will allow us to make progress even if API call for one zone or region fails. = Shuffle zones/regions list in each refresh cycle, so that we go through them in different order every time. This may increase our chances to make progress in case of consistent API failures. PiperOrigin-RevId: 334255401
- Loading branch information
Showing
3 changed files
with
192 additions
and
112 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
Oops, something went wrong.