Skip to content

Commit

Permalink
Update default installation timeout from 30 to 60 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
rzander committed Oct 28, 2018
1 parent a3b2923 commit d375959
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions RZ.Cache/RZCache/RZCache.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<DockerComposeProjectPath>..\docker-compose.dcproj</DockerComposeProjectPath>
<FileVersion>1.0.3.1</FileVersion>
<AssemblyVersion>1.0.3.2</AssemblyVersion>
<FileVersion>1.0.4.0</FileVersion>
<AssemblyVersion>1.0.4.0</AssemblyVersion>
<Authors>Roger Zander</Authors>
<Company>Zander Tools</Company>
<Product>RZWCF Proxy Service</Product>
Expand All @@ -14,17 +14,17 @@
<PackageLicenseUrl>https://github.com/rzander/ruckzuck/blob/master/LICENSE.md</PackageLicenseUrl>
<PackageTags>software package manager windows cache proxy</PackageTags>
<UserSecretsId>3d943e5a-c0e9-40f0-b91e-9ab682223099</UserSecretsId>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<SignAssembly>false</SignAssembly>
<StartupObject>RZWCF.Program</StartupObject>
<ApplicationIcon />
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.1.2" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.1.1" />
<PackageReference Include="Microsoft.AspNetCore" Version="2.1.4" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.1.3" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.1.3" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="2.1.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="2.1.1" />
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions RZUpdate/RZUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ private bool _Install(bool Force = false)
downloadTask.Installing = true;
ProgressDetails(this.downloadTask, EventArgs.Empty);

var oResult = _RunPS(psPath + SW.PSPreInstall + ";" + SW.PSInstall + ";" + SW.PSPostInstall + ";$ExitCode", "", new TimeSpan(0,30,0));
var oResult = _RunPS(psPath + SW.PSPreInstall + ";" + SW.PSInstall + ";" + SW.PSPostInstall + ";$ExitCode", "", new TimeSpan(0,60,0));

try
{
Expand Down Expand Up @@ -1631,7 +1631,7 @@ private bool _checkFileX509(string FilePath, string X509)
/// <returns></returns>
public static PSDataCollection<PSObject> _RunPS(string PSScript, string WorkingDir = "",TimeSpan? Timeout = null)
{
TimeSpan timeout = new TimeSpan(0, 5, 0); //default timeout = 5min
TimeSpan timeout = new TimeSpan(0, 15, 0); //default timeout = 15min

if (Timeout != null)
timeout = (TimeSpan)Timeout;
Expand Down
4 changes: 2 additions & 2 deletions RuckZuck_Tool/RZUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ private bool _Install(bool Force = false)
downloadTask.Installing = true;
ProgressDetails(this.downloadTask, EventArgs.Empty);

var oResult = _RunPS(psPath + SW.PSPreInstall + ";" + SW.PSInstall + ";" + SW.PSPostInstall + ";$ExitCode", "", new TimeSpan(0, 30, 0));
var oResult = _RunPS(psPath + SW.PSPreInstall + ";" + SW.PSInstall + ";" + SW.PSPostInstall + ";$ExitCode", "", new TimeSpan(0, 60, 0));

try
{
Expand Down Expand Up @@ -1631,7 +1631,7 @@ private bool _checkFileX509(string FilePath, string X509)
/// <returns></returns>
public static PSDataCollection<PSObject> _RunPS(string PSScript, string WorkingDir = "", TimeSpan? Timeout = null)
{
TimeSpan timeout = new TimeSpan(0, 5, 0); //default timeout = 5min
TimeSpan timeout = new TimeSpan(0, 15, 0); //default timeout = 15min

if (Timeout != null)
timeout = (TimeSpan)Timeout;
Expand Down

0 comments on commit d375959

Please sign in to comment.