Skip to content

Commit f15979e

Browse files
committed
Run cache:pool:clear --all instead of cache:clear in updater to clear really all cache pools, even app ones
1 parent df3262a commit f15979e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Services/System/UpdateExecutor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public function executeUpdate(
420420
// Step 11: Clear cache
421421
$stepStart = microtime(true);
422422
$this->runCommand([
423-
'php', 'bin/console', 'cache:clear',
423+
'php', 'bin/console', 'cache:pool:clear', '--all',
424424
'--env=prod',
425425
'--no-interaction',
426426
], 'Clear cache', 120);
@@ -489,7 +489,7 @@ public function executeUpdate(
489489

490490
// Clear cache after rollback
491491
$this->runCommand([
492-
'php', 'bin/console', 'cache:clear',
492+
'php', 'bin/console', 'cache:pool:clear', '--all',
493493
'--env=prod',
494494
], 'Clear cache after rollback', 120);
495495
$log('rollback_cache', 'Cleared cache after rollback', true);

0 commit comments

Comments
 (0)