Turn off cache warmup

This commit is contained in:
Max Wofford
2025-06-25 13:57:11 -04:00
parent 8d702e3900
commit 97f8119e8d

View File

@@ -9,8 +9,8 @@ fi
# If running the rails server then create or migrate existing database # If running the rails server then create or migrate existing database
if [ "${@: -2:1}" == "./bin/rails" ] && [ "${@: -1:1}" == "server" ]; then if [ "${@: -2:1}" == "./bin/rails" ] && [ "${@: -1:1}" == "server" ]; then
./bin/rails db:prepare ./bin/rails db:prepare
echo "Warming up caches for production deployment..." # echo "Warming up caches for production deployment..."
./bin/rails cache:warmup # ./bin/rails cache:warmup
fi fi
exec "${@}" exec "${@}"