Skip to content

Commit 40f3b18

Browse files
revert changes
1 parent b3f4bd6 commit 40f3b18

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/Ydb.Sdk/src/Ado/YdbConnection.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,6 @@ public override async Task OpenAsync(CancellationToken cancellationToken)
122122
$"(currently {ConnectionStringBuilder.CreateSessionTimeout} seconds) in your connection string.", e
123123
);
124124
}
125-
catch (YdbException e) when (e.Code == StatusCode.ClientTransportTimeout)
126-
{
127-
throw new YdbException(e.Code,
128-
$"The connection pool has been exhausted, either raise 'MaxSessionPool' " +
129-
$"(currently {ConnectionStringBuilder.MaxSessionPool}) or 'CreateSessionTimeout' " +
130-
$"(currently {ConnectionStringBuilder.CreateSessionTimeout} seconds) in your connection string.", e
131-
);
132-
}
133125

134126
OnStateChange(ClosedToOpenEventArgs);
135127

src/Ydb.Sdk/test/Ydb.Sdk.Ado.Benchmarks/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Apple M2 Pro, 1 CPU, 12 logical and 12 physical cores
2323
[Host] : .NET 8.0.2 (8.0.224.6711), Arm64 RyuJIT AdvSIMD
2424
DefaultJob : .NET 8.0.2 (8.0.224.6711), Arm64 RyuJIT AdvSIMD
2525

26-
2726
# YDB .NET SDK Session Pool V1 On Semaphore-Based
2827

2928
| Method | Mean | Error | StdDev | Completed Work Items | Lock Contentions | Gen0 | Gen1 | Allocated |

0 commit comments

Comments
 (0)