mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Turn off cache warmup
This commit is contained in:
@@ -9,8 +9,8 @@ fi
|
||||
# If running the rails server then create or migrate existing database
|
||||
if [ "${@: -2:1}" == "./bin/rails" ] && [ "${@: -1:1}" == "server" ]; then
|
||||
./bin/rails db:prepare
|
||||
echo "Warming up caches for production deployment..."
|
||||
./bin/rails cache:warmup
|
||||
# echo "Warming up caches for production deployment..."
|
||||
# ./bin/rails cache:warmup
|
||||
fi
|
||||
|
||||
exec "${@}"
|
||||
|
||||
Reference in New Issue
Block a user