Browse Source

提交注释

denny 2 years ago
parent
commit
d50531040f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Plugin/ServerListPlugin.cs

+ 1 - 0
src/Plugin/ServerListPlugin.cs

@@ -80,6 +80,7 @@ namespace WingCloudServer.Plugin
                 .Where(x => !string.IsNullOrEmpty(x.Name) && !string.IsNullOrEmpty(x.ServerUrl))?.ToList();
                 var fasterServerInfo = new ServerInfoDTO();
                 var parallelOption = new ParallelOptions() { MaxDegreeOfParallelism = 4 };
+                //本地IP段检索
                 Parallel.ForEach(serverInformationList, parallelOption, (item, parallelLoopState) => {
                     if (item.AssignClientIPList != null && item.AssignClientIPList.Any()) {
                         var ipInfo = item.AssignClientIPList.Find(c => c.LongStartIP >= ipLongAddress && c.LongEndIP <= ipLongAddress);