change to waitasync for semaphore
This commit is contained in:
@@ -69,7 +69,7 @@ namespace MareSynchronosServer.Authentication
|
||||
{
|
||||
try
|
||||
{
|
||||
dbLockSemaphore.Wait();
|
||||
await dbLockSemaphore.WaitAsync();
|
||||
uid = (await _mareDbContext.Auth.Include("User").AsNoTracking()
|
||||
.FirstOrDefaultAsync(m => m.HashedKey == hashedHeader))?.UserUID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user