1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-28 08:00:14 -05:00

update index for ratings/prune old entries

small stat tweaks to add players on first kill/damage event
(instead of on connect which causes issues with slow writes)
This commit is contained in:
RaidMax
2020-11-14 18:24:51 -06:00
parent d9a7aa9ce9
commit 8a697ca71c
10 changed files with 999 additions and 7 deletions

View File

@ -22,7 +22,10 @@ namespace Stats.Models
builder.Entity<EFRating>()
.HasIndex(p => new { p.Performance, p.Ranking, p.When });
builder.Entity<EFRating>()
.HasIndex(p => new { p.When, p.ServerId, p.Performance, p.ActivityAmount });
builder.Entity<EFClientMessage>()
.HasIndex(p => p.TimeSent);