From 860a939a7cdde250ec6165df035eebe4abbdbf0b Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 22 十一月 2024 12:32:24 +0800
Subject: [PATCH] 0312 初始化网络请求链接数
---
Assets/Launch/LoadDll.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Assets/Launch/LoadDll.cs b/Assets/Launch/LoadDll.cs
index d585a21..4f1a5f7 100644
--- a/Assets/Launch/LoadDll.cs
+++ b/Assets/Launch/LoadDll.cs
@@ -24,6 +24,7 @@
System.Globalization.CultureInfo.CurrentUICulture = culture;
System.Globalization.CultureInfo.DefaultThreadCurrentCulture = culture;
System.Globalization.CultureInfo.DefaultThreadCurrentUICulture = culture;
+ System.Net.ServicePointManager.DefaultConnectionLimit = 100;
#if UNITY_EDITOR
//鍐呯綉涓嬭浇娴嬭瘯
_hotUpdateAss = System.AppDomain.CurrentDomain.GetAssemblies().First(a => a.GetName().Name == "Assembly-CSharp");
--
Gitblit v1.8.0