Skip to content

Commit a929d4d

Browse files
Merge branch '6.4' into 7.3
* 6.4: remove deprecated nullable option from primary key columns specific fix to avoid 'outag' when inflecting 'outages' [Process] Enhance hasSystemCallBeenInterrupted function for non-english locale [FrameworkBundle] Make `cache:warmup` warm up read-only caches
2 parents 7a9e4e3 + 756df2a commit a929d4d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Command/CacheWarmupCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6969
$kernel->warmUp($cacheDir);
7070
}
7171

72-
$preload = $this->cacheWarmer->warmUp($cacheDir);
73-
7472
$buildDir = $kernel->getContainer()->getParameter('kernel.build_dir');
73+
74+
$preload = $this->cacheWarmer->warmUp($cacheDir, $buildDir);
75+
7576
if ($preload && $cacheDir === $buildDir && file_exists($preloadFile = $buildDir.'/'.$kernel->getContainer()->getParameter('kernel.container_class').'.preload.php')) {
7677
Preloader::append($preloadFile, $preload);
7778
}

0 commit comments

Comments
 (0)