Skip to content

Commit

Permalink
Merge branch '2.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Oct 4, 2019
2 parents a927461 + f576f04 commit af54559
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
/bin/*
!bin/.ci/
!bin/.travis/
!bin/platformsh/
!bin/console
!bin/platformsh_prestart_cacheclear.sh
!bin/vhost.sh

.php~
Expand Down
2 changes: 1 addition & 1 deletion .platform.app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ hooks:
# Now that mounts are available, clear cache on mount.
# Note: Skip on PE Cluster setup using e.g. "if [$PLATFORM_BRANCH" != 'production']; then" & get p.sh to enable this on internal per node "pre_start" hook
sh bin/platformsh/pre_start-per_node-clear_cache.sh
sh bin/platformsh_prestart_cacheclear.sh
# If you also need to clear Redis cache on every deploy, you can either use this command or redis-cli
# Normally this should only be needed if cached data structures changes (upgrades), or you change data via sql (e.g. restore backup)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
set -e

#date
echo "removing var/cache/${APP_ENV}/*.* to avoid Symfony container issues on interface changes"
rm -Rf var/cache/${APP_ENV}/*.*
echo "removing var/cache/${APP_ENV-dev}/*.* to avoid Symfony container issues on interface changes"
rm -Rf var/cache/${APP_ENV-dev}/*.*
#date
echo "clearing application cache"
php bin/console cache:clear
Expand Down

0 comments on commit af54559

Please sign in to comment.