Update vcpkg and GitHub Actions (#8682)

* Update vcpkg to latest release (2021.05.12) Use https://github.com/microsoft/vcpkg
* Update all GHA to latest from dev
* Python code linting changes detected by black
This commit is contained in:
Magne Sjaastad
2022-03-15 08:19:44 +01:00
committed by GitHub
parent 4d25081dde
commit ab9e8646db
12 changed files with 193 additions and 204 deletions

View File

@@ -68,7 +68,7 @@ class ExponentialBackoffRetryPolicy(RetryPolicy):
# Add a random component to avoid synchronized retries
wiggle = random.randint(0, 100)
sleep_ms = min(
self.min_backoff + self.multiplier ** retry_num + wiggle, self.max_backoff
self.min_backoff + self.multiplier**retry_num + wiggle, self.max_backoff
)
time.sleep(sleep_ms / 1000)