[metrics_center] Add retries to unlock a lock file in case of 504 errors (#4323)

* https://github.com/flutter/flutter/issues/120440
* Updates the `GcsLock` class to retry unlocking the file in case a 504 error occurs
* Updates the `GcsLock` constructor to require a `StorageApi` object instead of `AuthClient`, which allows mocking the object, since the `AuthClient` object isn't actually being used within the `GcsLock` class besides to create the `StorageApi`.
This commit is contained in:
Drew Roen
2023-06-29 11:00:18 -05:00
committed by GitHub
parent 5d6e48c3e0
commit d4752c4069
9 changed files with 1397 additions and 57 deletions

View File

@ -60,6 +60,7 @@
- wasm
- yaml
# Google-owned packages
- _discoveryapis_commons
- adaptive_navigation
- file
- googleapis