Shopware recipe: Do not warm up cache when clearing the cache (#3532)

This commit is contained in:
Marcus Müller 2023-03-07 23:22:45 +01:00 committed by GitHub
parent f9b5c1e52b
commit 7f99c7e2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ set('writable_dirs', [
// This task remotely executes the `cache:clear` console command on the target server.
task('sw:cache:clear', static function () {
run('cd {{release_path}} && {{bin/console}} cache:clear');
run('cd {{release_path}} && {{bin/console}} cache:clear --no-warmup');
});
// This task remotely executes the cache warmup console commands on the target server, so that the first user, who