File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1- ## v0.20.2
2- - Added ` DisableServerBalancer ` option to ADO.NET session creation; default false.
3-
41## v0.20.1
52
63- Fixed bug ADO.NET: ` YdbSchema.SchemaObjects ` and ` Ydb.DescribeTable ` methods are public for ` EntityFrameworkCore.Ydb ` .
Original file line number Diff line number Diff line change @@ -21,6 +21,4 @@ internal static class GrpcDefaultSettings
2121 internal const bool EnableMultipleHttp2Connections = false ;
2222
2323 internal const bool DisableDiscovery = false ;
24-
25- internal const bool DisableServerBalancer = false ;
2624}
Original file line number Diff line number Diff line change @@ -18,11 +18,12 @@ internal abstract class SessionPool<TSession> where TSession : SessionBase<TSess
1818 private volatile int _waitingCount ;
1919 private volatile bool _disposed ;
2020
21- protected SessionPool ( ILogger < SessionPool < TSession > > logger , SessionPoolConfig sessionPoolConfig )
21+ protected SessionPool ( ILogger < SessionPool < TSession > > logger , SessionPoolConfig config )
2222 {
2323 Logger = logger ;
24- _size = sessionPoolConfig . MaxSessionPool ;
25- _createSessionTimeoutMs = sessionPoolConfig . CreateSessionTimeout * 1000 ;
24+ Config = config ;
25+ _size = config . MaxSessionPool ;
26+ _createSessionTimeoutMs = config . CreateSessionTimeout * 1000 ;
2627 _semaphore = new SemaphoreSlim ( _size ) ;
2728 }
2829
You can’t perform that action at this time.
0 commit comments