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
45
44
varpooledConnectionIdleTimeout=TimeSpan.FromMinutes(1);// a connection that is idle for 1 minute will be closed and recycled
46
45
47
-
Log.Info($"Creating a SocketsHttpHandler with PooledConnectionLifetime {pooledConnectionLifetime}, PooledConnectionIdleTimeout {pooledConnectionIdleTimeout} and ConnectTimeout {_timeout}");
46
+
Log.Info("Creating a SocketsHttpHandler with PooledConnectionLifetime {ConnectionLifetime}, PooledConnectionIdleTimeout {ConnectionIdleTimeout} and ConnectTimeout {ConnectTimeout}",pooledConnectionLifetime,pooledConnectionIdleTimeout,_timeout);
48
47
49
-
// use reflection to create a SocketsHttpHandler instance and set the PooledConnectionLifetime to 1 minute
48
+
// use reflection to create a SocketsHttpHandler instance and set the timeout values
0 commit comments