修改一些可能在某些条件 下可能会触发的BUG
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user