8000 fix semaphore max concurrent thread · devel0/example-webapp-with-auth@9f60258 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f60258

Browse files
committed
fix semaphore max concurrent thread
1 parent d30ae15 commit 9f60258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/webapi/Implementations/JWTService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class JWTService : IJWTService
77
readonly UserManager<ApplicationUser> userManager;
88
readonly AppDbContext dbContext;
99

10-
static SemaphoreSlim semRefreshToken = new SemaphoreSlim(1);
10+
static SemaphoreSlim semRefreshToken = new SemaphoreSlim(1, 1);
1111

1212
public JWTService(
1313
ILogger<JWTService> logger,

0 commit comments

Comments
 (0)
0