actually fix the session score concurrency issue
fix rare bug with shared guid kicker plugin allow hiding of the connection lost notification
This commit is contained in:
@ -374,6 +374,7 @@ namespace SharedLibraryCore.Services
|
||||
EF.CompileAsyncQuery((DatabaseContext context, long networkId) =>
|
||||
context.Clients
|
||||
.Include(c => c.CurrentAlias)
|
||||
.Include(c => c.AliasLink)
|
||||
.Select(_client => new EFClient()
|
||||
{
|
||||
ClientId = _client.ClientId,
|
||||
@ -389,7 +390,7 @@ namespace SharedLibraryCore.Services
|
||||
.FirstOrDefault(c => c.NetworkId == networkId)
|
||||
);
|
||||
|
||||
public async Task<EFClient> GetUnique(long entityAttribute)
|
||||
public virtual async Task<EFClient> GetUnique(long entityAttribute)
|
||||
{
|
||||
using (var context = new DatabaseContext(true))
|
||||
{
|
||||
|
Reference in New Issue
Block a user