Skip to content

Commit

Permalink
Don't freeze cms scoreboard after end of the contest.
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Sep 12, 2023
1 parent 5908c4a commit ecb6eb4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import org.icpclive.cds.common.jsonLoader
import org.icpclive.cds.settings.CmsSettings
import org.icpclive.util.Enumerator
import kotlin.time.Duration
import kotlin.time.Duration.Companion.INFINITE
import kotlin.time.Duration.Companion.seconds

internal class CmsDataSource(val settings: CmsSettings) : FullReloadContestDataSource(5.seconds) {
Expand Down Expand Up @@ -89,7 +90,7 @@ internal class CmsDataSource(val settings: CmsSettings) : FullReloadContestDataS
resultType = ContestResultType.IOI,
startTime = mainContest.begin,
contestLength = mainContest.end - mainContest.begin,
freezeTime = mainContest.end - mainContest.begin,
freezeTime = INFINITE,
problemList = problems,
teamList = teams,
groupList = emptyList(),
Expand Down

0 comments on commit ecb6eb4

Please sign in to comment.