From 06ea9055013265d277578cc7059678d2bd849b8f Mon Sep 17 00:00:00 2001 From: Blackmorse Date: Fri, 17 May 2024 15:59:43 +0400 Subject: [PATCH] akka-loader: auto-loader off after 14 round --- akka-loader/src/main/scala/scheduler/LeagueScheduler.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala b/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala index 2d2b940b..e55f481e 100644 --- a/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala +++ b/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala @@ -83,6 +83,7 @@ class LeagueScheduler(worldDetails: WorldDetails, val previousWeekMs = if (matchesAlreadyFinished) 1000L * 3600 * 24 * 7 else 0L worldDetails.leagueList + .filter(_.matchRound < 15) // check at the end of the season! .map(league => { val minutesOffset: Long = countriesToMinutesOffset.getOrElse(league.leagueId, 0)