Skip to content

Commit c438cc1

Browse files
committed
Fix cache warmup
1 parent 1d10d6e commit c438cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init_benchmark.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ function clearCacheAndLogs() {
1010
[ "$?" != "0" ] && exit 1
1111
sudo /bin/chmod -R 777 var/log
1212
[ "$?" != "0" ] && exit 1
13-
14-
php bin/console cache:warmup
1513
}
1614

1715
function init() {
1816
export APP_ENV='prod'
1917

18+
sudo /bin/rm -rf vendor/
2019
clearCacheAndLogs
2120

2221
composer install --no-dev --classmap-authoritative
2322
[ "$?" != "0" ] && exit 1
2423

2524
clearCacheAndLogs
25+
php bin/console cache:warmup
2626

2727
return 0
2828
}

0 commit comments

Comments
 (0)