We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc89bf commit 4b8310eCopy full SHA for 4b8310e
1 file changed
ZkData/Ef/WHR/RatingSystems.cs
@@ -37,15 +37,13 @@ public static void Init()
37
{
38
int battles = 0;
39
data.Database.CommandTimeout = 240;
40
- for (int month = 10*12; month > 0; month--)
+ for (int month = 5*12; month > 0; month--)
41
42
DateTime minStartTime = DateTime.Now.AddMonths(-month);
43
DateTime maxStartTime = DateTime.Now.AddMonths(-month + 1);
44
foreach (SpringBattle b in data.SpringBattles
45
.Where(x => x.StartTime > minStartTime && x.StartTime < maxStartTime)
46
- .Include(x => x.ResourceByMapResourceID)
47
.Include(x => x.SpringBattlePlayers)
48
- .Include(x => x.SpringBattleBots)
49
.AsNoTracking()
50
.OrderBy(x => x.StartTime))
51
0 commit comments