Skip to content

Commit

Permalink
点火功能优化
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzd committed Apr 23, 2023
1 parent 1f393d0 commit cddc43e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Binary file modified AntDeploy2022/AntDeployV2/AntDeployWinform.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion AntDeploy2022/AntDeployV2/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="AntDeployV2.7c9b7525-17b5-4862-91fd-75e80893e476" Version="3.3" Language="en-US" Publisher="yuzd" />
<Identity Id="AntDeployV2.7c9b7525-17b5-4862-91fd-75e80893e476" Version="3.4" Language="en-US" Publisher="yuzd" />
<DisplayName>AntDeployV2</DisplayName>
<Description xml:space="preserve">Tools to deploy applications to remote server(iis,windowsService,docker) support netframwork and dotnetcore,support rollback and increment deploy</Description>
<MoreInfo>https://github.com/yuzd</MoreInfo>
Expand Down
7 changes: 2 additions & 5 deletions AntDeployWinform/Util/WebUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static bool IsHttpGetOk(string url, Logger logger,string agentNewVersion
{
retyrTimes++;

if (retyrTimes > 6)
if (retyrTimes > 10)
{
logger.Warn($"Fire WebSite Url Fail:{ex1.Message}");
}
Expand All @@ -202,10 +202,7 @@ public static bool IsHttpGetOk(string url, Logger logger,string agentNewVersion
}
if (needRetry)
{
if (needLog)
{
Thread.Sleep(2000);
}
Thread.Sleep(2000);
goto RETRY;
}
return false;
Expand Down
2 changes: 1 addition & 1 deletion AntDeployWinform/Vsix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public static class Vsix
{
public const string FORM_NAME = "AntDeploy("+VERSION+")";
public const string VERSION = "7.53";
public const string VERSION = "7.54";
public const string AGENTVERSION = "7.1";
public const string PRODUCT = "yuzd";
public const string PACKAGE = "AntDeploy";
Expand Down

0 comments on commit cddc43e

Please sign in to comment.