File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/Ydb.Sdk/src/Ado/Session Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,9 @@ private async ValueTask<ISession> RentAsync(CancellationToken cancellationToken)
127127 }
128128
129129 await using var _ = finalToken . Register ( ( ) => waiterTcs . TrySetException (
130- new YdbException ( StatusCode . ClientTransportTimeout ,
131- $ "The connection pool has been exhausted, either raise 'MaxSessionPool' " +
132- $ "(currently { _maxSessionSize } ) or 'CreateSessionTimeout' " +
133- $ "(currently { _createSessionTimeout } seconds) in your connection string.")
130+ new YdbException ( $ "The connection pool has been exhausted, either raise 'MaxSessionPool' " +
131+ $ "(currently { _maxSessionSize } ) or 'CreateSessionTimeout' " +
132+ $ "(currently { _createSessionTimeout } seconds) in your connection string.")
134133 ) , useSynchronizationContext : false
135134 ) ;
136135 await using var disposeRegistration = _disposeCts . Token . Register (
You can’t perform that action at this time.
0 commit comments