We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1264518 commit 808410dCopy full SHA for 808410d
src/Ydb.Sdk/src/Services/Table/SessionPool.cs
@@ -98,6 +98,7 @@ public async Task<GetSessionResponse> GetSession()
98
for (var attempt = 0; attempt < maxAttempts; attempt++)
99
{
100
getSessionResponse = await GetSessionAttempt();
101
+ if (getSessionResponse.Status.IsSuccess) return getSessionResponse;
102
}
103
104
_logger.LogError($"Failed to get session from pool or create it (attempts: {maxAttempts})");
0 commit comments