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 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 "${@}"
|
||||||
|
|||||||
Reference in New Issue
Block a user