File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
GameFrameX.StartUp/Options Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ public sealed class LauncherOptions
1717 [ GrafanaLokiLabelTag ]
1818 public string ServerType { get ; set ; }
1919
20- /// <summary>
21- /// APM监控端口
22- /// </summary>
23- [ Option ( nameof ( APMPort ) , Description = "APM监控端口" ) ]
24- [ Obsolete ( "MetricsPort 代替" ) ]
25- public ushort APMPort { get ; set ; }
26-
2720 /// <summary>
2821 /// Metrics 端口
2922 /// </summary>
@@ -405,18 +398,6 @@ public sealed class LauncherOptions
405398 [ GrafanaLokiLabelTag ]
406399 public string Label { get ; set ; }
407400
408- /// <summary>
409- /// 检查APM监控端口
410- /// </summary>
411- /// <exception cref="ArgumentOutOfRangeException"></exception>
412- internal void CheckApmPort ( )
413- {
414- if ( APMPort <= 10000 || APMPort >= ushort . MaxValue )
415- {
416- throw new ArgumentOutOfRangeException ( nameof ( APMPort ) , "APMPort必须大于10000且小于等于65535" ) ;
417- }
418- }
419-
420401 /// <summary>
421402 /// 检查ServerId
422403 /// </summary>
You can’t perform that action at this time.
0 commit comments