diff --git a/akka-loader/src/main/scala/LoaderApp.scala b/akka-loader/src/main/scala/LoaderApp.scala index a51c6c53..e2455ab4 100644 --- a/akka-loader/src/main/scala/LoaderApp.scala +++ b/akka-loader/src/main/scala/LoaderApp.scala @@ -69,7 +69,7 @@ object LoaderApp extends App { } else { entity } - logger.info(s"Entity type: $entity") + logger.info(s"Entity type: $entity, real entity $realEntity") val (taskExecutorActor, scheduler) = executorAndScheduler(realEntity, lastMatchWindow, executorActorFactory, worldDetails) scheduler.loadScheduled() actorSystem.scheduler.scheduleWithFixedDelay(0.second, 5.second)(() => taskExecutorActor ! TryToExecute) diff --git a/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala b/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala index 1adf717e..f66cb990 100644 --- a/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala +++ b/akka-loader/src/main/scala/scheduler/LeagueScheduler.scala @@ -93,7 +93,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! + .filter(_.matchRound < 16) // check at the end of the season! .map(league => { val minutesOffset: Long = countriesToMinutesOffset.getOrElse(league.leagueId, 0)