Skip to content

Commit fbc49aa

Browse files
authored
Update NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY documentation (#3227)
Resolve https://github.com/NuGet/docs.microsoft.com-nuget/issues/3133.
1 parent 044dfc7 commit fbc49aa

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/reference/Signed-Package-Verification-Options.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ For NuGet users, symptoms of this issue are that the NuGet operation will typica
2323

2424
> [!Note]
2525
> This option is available starting from NuGet 6.0.0 and only applies to the Windows-specific failure described above. The option does not apply to any other scenario and has no effect on Linux or macOS.
26+
>
27+
> Before NuGet 6.8.0 and .NET 8 SDK, this option is disabled by default.
28+
>
29+
> Starting with NuGet 6.8.0 and .NET 8 SDK, this option is enabled by default on Windows. The environment variable does not need to be set explicitly unless you want to override the default value of `3,1000` or to opt out. To opt out, set the environment variable with a value of `0`.
2630
27-
You can opt-in to an experimental, automatic retry for untrusted root failures on Windows by setting an environment variable named `NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY` with a value consisting of 2 comma-delimited positive integers representing retry count and sleep interval in milliseconds, respectively. There are no default values; you need to pick retry values that are sensible for you.
31+
You can enable an experimental, automatic retry for untrusted root failures on Windows by setting an environment variable named `NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY` with a value consisting of 2 comma-delimited positive integers representing retry count and sleep interval in milliseconds, respectively. You should pick values that are sensible for you.
2832

2933
For example, setting the environment variable to a value of `3,1000` like so:
3034

3135
<pre>set NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY=3,1000</pre>
3236

33-
...would try up to 4 times (initial try plus 3 retries) with 1 second (1,000 ms) between each try.
37+
...would try up to 4 times (initial try plus 3 retries) with 1 second (1,000 ms) between each try.

0 commit comments

Comments
 (0)