From 3827b7f6a300b21edd9a6cefa364d53a37c34888 Mon Sep 17 00:00:00 2001 From: Matt Galbraith Date: Tue, 31 Aug 2021 11:02:56 -0700 Subject: [PATCH] Set values for Nuget.Client EXPERIMENTAL_HTTP_RETRY (#58386) * DO NOT MERGE: Changes to try out experimental retry feature introduced in newer Nuget.Client * Move to 6.0.100-rc.1.21430.12 --- eng/pipelines/common/variables.yml | 10 ++++++++++ global.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/common/variables.yml b/eng/pipelines/common/variables.yml index 760543475a751..71ce5729c5177 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -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 diff --git a/global.json b/global.json index 4b7128dcf66e6..6de65f333c2df 100644 --- a/global.json +++ b/global.json @@ -1,11 +1,11 @@ { "sdk": { - "version": "6.0.100-rc.1.21411.28", + "version": "6.0.100-rc.1.21430.12", "allowPrerelease": true, "rollForward": "major" }, "tools": { - "dotnet": "6.0.100-rc.1.21411.28" + "dotnet": "6.0.100-rc.1.21430.12" }, "native-tools": { "cmake": "3.16.4",