Set PooledConnectionLifetime to 10 minutes

Setting PooledConnectinLifetime to a defined number will ensure we don't run into DNS refresh issues
pull/1129/head
Qstick 2 years ago
parent 7fa0a2b33c
commit 59e5b5bd52

@ -174,6 +174,7 @@ namespace NzbDrone.Common.Http.Dispatchers
PreAuthenticate = true,
MaxConnectionsPerServer = 12,
ConnectCallback = onConnect,
PooledConnectionLifetime = TimeSpan.FromMinutes(10),
SslOptions = new SslClientAuthenticationOptions
{
RemoteCertificateValidationCallback = _certificateValidationService.ShouldByPassValidationError

Loading…
Cancel
Save