tfs: increase retry count when publishing to azure

This commit is contained in:
Joao Moreno
2017-07-06 08:52:44 +02:00
parent 249e9a3e56
commit bf410d4cc7
2 changed files with 1003 additions and 1001 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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),