Skip to content

Commit 17d1b56

Browse files
committed
Allow refreshing the scoreboard cache to take more than 30s.
Refreshing the cache can take a while, especially with lots of teams in dev mode.
1 parent cf721b6 commit 17d1b56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webapp/src/Service/ScoreboardService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,8 @@ public function updateRankCache(Contest $contest, Team $team): void
617617
*/
618618
public function refreshCache(Contest $contest, ?callable $progressReporter = null): void
619619
{
620+
ini_set('max_execution_time', 300);
621+
620622
$this->dj->auditlog('contest', $contest->getCid(), 'refresh scoreboard cache');
621623

622624
if ($progressReporter === null) {

0 commit comments

Comments
 (0)