修改一些可能在某些条件 下可能会触发的BUG

This commit is contained in:
2026-03-26 14:18:52 +08:00
parent d0c626c189
commit 696144b2ff
59 changed files with 109 additions and 82682 deletions

View File

@@ -5329,10 +5329,10 @@ namespace WebSite.Controllers
long jishu_error = Interlocked.Read(ref MvcApplication.UDPServerErrorCount);
if (jishu_error >= 3)
{
logger.Error("重启了UDP服务器");
Interlocked.Exchange(ref MvcApplication.UDPServerErrorCount, 0);
var hostServer = (IHostServer)MvcApplication.cxt.GetObject("RCUHost.HostServer");
hostServer.Start();
//logger.Error("重启了UDP服务器");
//Interlocked.Exchange(ref MvcApplication.UDPServerErrorCount, 0);
//var hostServer = (IHostServer)MvcApplication.cxt.GetObject("RCUHost.HostServer");
//hostServer.Start();
}
var TotalKey = "UDPPackage_TotalRecvPackage";
UDPPackageCount LLL_T = null;