Enable experimental nuget retry on rc2 lanes (already enabled on main) (#59360)
authorLarry Ewing <lewing@microsoft.com>
Tue, 21 Sep 2021 00:41:58 +0000 (19:41 -0500)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 00:41:58 +0000 (18:41 -0600)
eng/pipelines/common/variables.yml

index 7605434..c724f4b 100644 (file)
@@ -1,4 +1,14 @@
 variables:
+
+# These values enable longer delays, configurable number of retries, and special understanding of TCP hang-up
+# See https://github.com/NuGet/Home/issues/11027 for details
+- name: NUGET_ENABLE_EXPERIMENTAL_HTTP_RETRY
+  value: true
+- name: NUGET_EXPERIMENTAL_MAX_NETWORK_TRY_COUNT
+  value: 6
+- name: NUGET_EXPERIMENTAL_NETWORK_RETRY_DELAY_MILLISECONDS
+  value: 1000
+
 - name: isOfficialBuild
   value: ${{ and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}
 - name: isFullMatrix