mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
set AgentHttpClient timeout to 10 mins
This commit is contained in:
parent
67d994a8be
commit
56f7c081ae
1 changed files with 3 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
|||
using System.Net.Http;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
|
||||
public class AgentHttpClient
|
||||
{
|
||||
public AgentHttpClient(HttpClient client)
|
||||
{
|
||||
Client = client;
|
||||
Client.Timeout = TimeSpan.FromMinutes(10);
|
||||
}
|
||||
|
||||
public HttpClient Client { get; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue