We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827ec95 commit a78c67bCopy full SHA for a78c67b
GameFrameX.Utility/Setting/GlobalSettings.cs
@@ -98,6 +98,12 @@ public static void SetCurrentSetting(AppSetting setting)
98
LogHelper.WarnConsole("HttpUrl为空,使用默认值为: /game/api/");
99
setting.HttpUrl = "/game/api/";
100
}
101
+
102
+ if (setting.NetWorkSendTimeOutSeconds < 1)
103
+ {
104
+ LogHelper.WarnConsole("NetWorkSendTimeOutSeconds小于1秒,使用默认值为:5 秒");
105
+ setting.NetWorkSendTimeOutSeconds = 5;
106
+ }
107
108
CurrentSetting = setting;
109
0 commit comments