mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-07 15:59:35 +00:00
Run cache:pool:clear --all instead of cache:clear in updater to clear really all cache pools, even app ones
This commit is contained in:
parent
df3262a3f7
commit
f15979ed11
1 changed files with 2 additions and 2 deletions
|
|
@ -420,7 +420,7 @@ class UpdateExecutor
|
|||
// Step 11: Clear cache
|
||||
$stepStart = microtime(true);
|
||||
$this->runCommand([
|
||||
'php', 'bin/console', 'cache:clear',
|
||||
'php', 'bin/console', 'cache:pool:clear', '--all',
|
||||
'--env=prod',
|
||||
'--no-interaction',
|
||||
], 'Clear cache', 120);
|
||||
|
|
@ -489,7 +489,7 @@ class UpdateExecutor
|
|||
|
||||
// Clear cache after rollback
|
||||
$this->runCommand([
|
||||
'php', 'bin/console', 'cache:clear',
|
||||
'php', 'bin/console', 'cache:pool:clear', '--all',
|
||||
'--env=prod',
|
||||
], 'Clear cache after rollback', 120);
|
||||
$log('rollback_cache', 'Cleared cache after rollback', true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue