Skip to content

Commit

Permalink
Extending timeout to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
basharast committed Oct 13, 2024
1 parent f9b0902 commit e733a63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Universal Updater/DownloadPackages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ public static bool OfflineUpdate(string[] folderFiles, string pushFeature)
{
}

// If we got the certificate date then just use it
DateTime? formatedDate = null;

var expectedDateFormat = "";
var dateModifiedString = "";
try
Expand Down
2 changes: 1 addition & 1 deletion Universal Updater/GetDeviceInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static int GetLog()
getDeviceInfoProcess.StartInfo.UseShellExecute = false;
getDeviceInfoProcess.Start();
// Better to set timeout and retry?
if (getDeviceInfoProcess.WaitForExit(15000))
if (getDeviceInfoProcess.WaitForExit(30000))
{
return getDeviceInfoProcess.ExitCode;
}
Expand Down

0 comments on commit e733a63

Please sign in to comment.