snowflakedb / snowflake-connector-net

Snowflake Connector for .NET
Apache License 2.0
173 stars 130 forks source link

SNOW-937190 Wait for idle sessions available #840

Closed sfc-gh-knozderko closed 5 months ago

sfc-gh-knozderko commented 6 months ago

Description

SNOW-937190 Wait for idle sessions available if session count exceeds max count

Checklist

codecov[bot] commented 6 months ago

Codecov Report

Attention: 19 lines in your changes are missing coverage. Please review.

Comparison is base (56f0b81) 81.62% compared to head (d42f4d5) 81.94%.

Files Patch % Lines
Snowflake.Data/Core/Session/SessionPool.cs 94.32% 5 Missing and 3 partials :warning:
Snowflake.Data/Core/Session/WaitingQueue.cs 92.98% 3 Missing and 1 partial :warning:
Snowflake.Data/Core/Session/NonWaitingQueue.cs 78.57% 3 Missing :warning:
...wflake.Data/Core/Session/SessionOrCreationToken.cs 83.33% 0 Missing and 2 partials :warning:
...flake.Data/Core/Session/SessionPoolEventHandler.cs 80.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## pool/SNOW-860872-connection-pool #840 +/- ## ==================================================================== + Coverage 81.62% 81.94% +0.32% ==================================================================== Files 93 100 +7 Lines 9334 9589 +255 Branches 858 877 +19 ==================================================================== + Hits 7619 7858 +239 - Misses 1475 1486 +11 - Partials 240 245 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.