mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-20 11:50:51 +02:00
Set PooledConnectionLifetime to 10 minutes
Setting PooledConnectinLifetime to a defined number will ensure we don't run into DNS refresh issues
This commit is contained in:
parent
7fa0a2b33c
commit
59e5b5bd52
1 changed files with 1 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ protected virtual System.Net.Http.HttpClient CreateHttpClient(HttpProxySettings
|
|||
PreAuthenticate = true,
|
||||
MaxConnectionsPerServer = 12,
|
||||
ConnectCallback = onConnect,
|
||||
PooledConnectionLifetime = TimeSpan.FromMinutes(10),
|
||||
SslOptions = new SslClientAuthenticationOptions
|
||||
{
|
||||
RemoteCertificateValidationCallback = _certificateValidationService.ShouldByPassValidationError
|
||||
|
|
|
|||
Loading…
Reference in a new issue