You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varpooledConnectionLifetime=TimeSpan.FromMinutes(5);// an in-use connection will be closed and recycled after 5 minutes
43
45
varpooledConnectionIdleTimeout=TimeSpan.FromMinutes(1);// a connection that is idle for 1 minute will be closed and recycled
44
46
45
-
Log.Info($"Creating a SocketsHttpHandler with PooledConnectionLifetime set to {pooledConnectionLifetime} and PooledConnectionIdleTimeout set to {pooledConnectionIdleTimeout}");
47
+
Log.Info($"Creating a SocketsHttpHandler with PooledConnectionLifetime {pooledConnectionLifetime}, PooledConnectionIdleTimeout {pooledConnectionIdleTimeout} and ConnectTimeout {_timeout}");
46
48
47
49
// use reflection to create a SocketsHttpHandler instance and set the PooledConnectionLifetime to 1 minute
0 commit comments