Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed May 21, 2024
1 parent 59efbbf commit 6d04f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Snowflake.Data/Core/Session/SessionPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ internal void DestroyPoolAsync()
lock (_sessionPoolLock)
{
_underDestruction = true;
ClearAllPoolsAsync();
ClearIdleSessionsAsync();
_busySessionsCounter.Reset();
_waitingForIdleSessionQueue.Reset();
_sessionCreationTokenCounter.Reset();
Expand Down Expand Up @@ -566,9 +566,9 @@ internal void ClearIdleSessions()
}
}

internal async void ClearAllPoolsAsync()
internal async void ClearIdleSessionsAsync()
{
s_logger.Debug("SessionPool::ClearAllPoolsAsync" + PoolIdentification());
s_logger.Debug("SessionPool::ClearIdleSessionsAsync" + PoolIdentification());
IEnumerable<SFSession> idleSessionsCopy;
lock (_sessionPoolLock)
{
Expand Down

0 comments on commit 6d04f60

Please sign in to comment.