Microsoft.Data.SqlClient.ConnectionPool.PoolPruner
Encapsulates idle connection pruning logic for ChannelDbConnectionPool.
Periodically samples the idle connection count and, once enough samples are collected,
computes the median and prunes that many idle connections from the pool.
This type is only instantiated when the pool can shrink (MinPoolSize < MaxPoolSize). When the pool is fixed-size, the pool holds no PoolPruner instance.
namespace Microsoft.Data.SqlClient.ConnectionPool
{
internal sealed class PoolPruner : IDisposable
{
public void Dispose();
}
}