mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-06 05:56:09 -05:00
tfs: increase retry count when publishing to azure
This commit is contained in:
2000
build/lib/i18n.js
2000
build/lib/i18n.js
File diff suppressed because it is too large
Load Diff
@@ -173,10 +173,10 @@ async function publish(commit: string, quality: string, platform: string, type:
|
||||
const storageAccount = process.env['AZURE_STORAGE_ACCOUNT_2'];
|
||||
|
||||
const blobService = azure.createBlobService(storageAccount, process.env['AZURE_STORAGE_ACCESS_KEY_2'])
|
||||
.withFilter(new azure.ExponentialRetryPolicyFilter());
|
||||
.withFilter(new azure.ExponentialRetryPolicyFilter(20));
|
||||
|
||||
const mooncakeBlobService = azure.createBlobService(storageAccount, process.env['MOONCAKE_STORAGE_ACCESS_KEY'], `${storageAccount}.blob.core.chinacloudapi.cn`)
|
||||
.withFilter(new azure.ExponentialRetryPolicyFilter());
|
||||
.withFilter(new azure.ExponentialRetryPolicyFilter(20));
|
||||
|
||||
await Promise.all([
|
||||
assertContainer(blobService, quality),
|
||||
|
||||
Reference in New Issue
Block a user