Skip to content

Commit be95bae

Browse files
committed
Reduce football match info cache time for live or about to start matches
1 parent 5c415ef commit be95bae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sport/app/football/controllers/MatchController.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class MatchController(
9595
val tier = FootballSummaryPagePicker.getTier()
9696

9797
val cacheTime =
98-
if (theMatch.isAboutToStart || theMatch.isLive) CacheTime(10) else CacheTime.FootballMatch
98+
if (theMatch.isAboutToStart || theMatch.isLive) CacheTime(10) else CacheTime(300)
9999

100100
page.flatMap { page =>
101101
val matchStats = MatchStats.statsFromFootballMatch(theMatch, page.lineUp, theMatch.matchStatus)

0 commit comments

Comments
 (0)