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 a1364dd commit 90529c3Copy full SHA for 90529c3
ProjectVG.Infrastructure/Persistence/Session/RedisSessionStorage.cs
@@ -156,7 +156,7 @@ public async Task<bool> ExistsAsync(string sessionId)
156
}
157
158
159
- public async Task<int> GetActiveSessionCountAsync()
+ public Task<int> GetActiveSessionCountAsync()
160
{
161
try
162
@@ -165,12 +165,12 @@ public async Task<int> GetActiveSessionCountAsync()
165
var count = keys.Count();
166
167
_logger.LogDebug("활성 세션 수: {Count}", count);
168
- return count;
+ return Task.FromResult(count);
169
170
catch (Exception ex)
171
172
_logger.LogError(ex, "활성 세션 수 조회 실패");
173
- return 0;
+ return Task.FromResult(0);
174
175
176
0 commit comments