DefaultConnectionLimit
This commit is contained in:
parent
dab86d0c7b
commit
962c2527ba
|
@ -13,6 +13,7 @@ using N_m3u8DL_RE.Config;
|
||||||
using N_m3u8DL_RE.Util;
|
using N_m3u8DL_RE.Util;
|
||||||
using N_m3u8DL_RE.DownloadManager;
|
using N_m3u8DL_RE.DownloadManager;
|
||||||
using N_m3u8DL_RE.CommandLine;
|
using N_m3u8DL_RE.CommandLine;
|
||||||
|
using System.Net;
|
||||||
|
|
||||||
namespace N_m3u8DL_RE
|
namespace N_m3u8DL_RE
|
||||||
{
|
{
|
||||||
|
@ -20,6 +21,7 @@ namespace N_m3u8DL_RE
|
||||||
{
|
{
|
||||||
static async Task Main(string[] args)
|
static async Task Main(string[] args)
|
||||||
{
|
{
|
||||||
|
ServicePointManager.DefaultConnectionLimit = 1024;
|
||||||
try { Console.CursorVisible = true; } catch { }
|
try { Console.CursorVisible = true; } catch { }
|
||||||
string loc = "en-US";
|
string loc = "en-US";
|
||||||
string currLoc = Thread.CurrentThread.CurrentUICulture.Name;
|
string currLoc = Thread.CurrentThread.CurrentUICulture.Name;
|
||||||
|
|
Loading…
Reference in New Issue