mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
Core: Change API timeout to 15 seconds
This commit is contained in:
parent
f26067cd5d
commit
aa3b554a5e
|
@ -17,7 +17,7 @@ namespace BililiveRecorder.Core.Api.Http
|
|||
private const string HttpHeaderOrigin = "https://live.bilibili.com";
|
||||
private const string HttpHeaderReferer = "https://live.bilibili.com/";
|
||||
private const string HttpHeaderUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36";
|
||||
private static readonly TimeSpan TimeOutTimeSpan = TimeSpan.FromSeconds(10);
|
||||
private static readonly TimeSpan TimeOutTimeSpan = TimeSpan.FromSeconds(15);
|
||||
|
||||
private readonly GlobalConfig config;
|
||||
private readonly HttpClient anonClient;
|
||||
|
|
Loading…
Reference in New Issue
Block a user