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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user