Skip to content

Commit

Permalink
akka-loader: auto-loader off after 14 round
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackmorse committed May 17, 2024
1 parent 6046312 commit 06ea905
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions akka-loader/src/main/scala/scheduler/LeagueScheduler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 06ea905

Please sign in to comment.