1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

optimize index for rating history

update log server to prevent delays or missed information
This commit is contained in:
RaidMax
2019-07-24 19:15:07 -05:00
parent 99a163fa2b
commit d6a5c27c60
17 changed files with 904 additions and 97 deletions

View File

@ -858,7 +858,7 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
#region INDIVIDUAL_SERVER_PERFORMANCE
// get the client ranking for the current server
int individualClientRanking = await ctx.Set<EFRating>()
int individualClientRanking = await ctx.Set<EFRating>()
.Where(GetRankingFunc(clientStats.ServerId))
// ignore themselves in the query
.Where(c => c.RatingHistory.ClientId != client.ClientId)