DefaultConnectionLimit

This commit is contained in:
nilaoda 2022-08-27 13:54:42 +08:00
parent dab86d0c7b
commit 962c2527ba
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ using N_m3u8DL_RE.Config;
using N_m3u8DL_RE.Util;
using N_m3u8DL_RE.DownloadManager;
using N_m3u8DL_RE.CommandLine;
using System.Net;
namespace N_m3u8DL_RE
{
@ -20,6 +21,7 @@ namespace N_m3u8DL_RE
{
static async Task Main(string[] args)
{
ServicePointManager.DefaultConnectionLimit = 1024;
try { Console.CursorVisible = true; } catch { }
string loc = "en-US";
string currLoc = Thread.CurrentThread.CurrentUICulture.Name;