You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When determining whether to use the default timeout, use the locally
set variable instead of using a deprecated config settings value.
Previously, when the deprecated value was set to "0" (the default), it
would not allow setting an execution timeout to anything other than the
default timeout of 2700. This has caused issues in newer installations
of Chocolatey (not upgraded) as the value of 0 would not allow changing
the execution timeout. It was looking at the deprecated timeout instead
of what was currently set or what was in the actual configuration value.
Fix this to look at the locally set variable that has already
determined what the setting is and whether it evaluates to 0 (not able
to parse or empty).
However, also allow for an actual setting of "0", which means never
time out (GH-1202) by looking at the string value prior to parsing to
see if it was set to zero.
* stable:
(GH-1042) Ensure-Permissions fails when run as SYSTEM
(build) ensure build is on .NET 4.0
(maint) remove test console logging
(maint) rename searchTerm variable
(maint) update nuget.core
(GH-1059) Fix: Unable to change command execution timeout
(GH-1059) Clean up commandExecutionTimeout setting
(maint) clean up CacheLocation
(GH-1202) Allow 0 for infinite timeout
(GH-1059) Deprecate old config elements
Allow setting to zero as a way of saying do not time out. This goes along with #1059.
The text was updated successfully, but these errors were encountered: