Skip to content

Commit

Permalink
remove rq_healthcheck entrypoint and deprecate celery_healthcheck (#4574
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Omer Lachish authored Feb 27, 2020
1 parent 5d533a3 commit b0f1cdd
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ create_db() {
exec /app/manage.py database create_tables
}

rq_healthcheck() {
exec /app/manage.py rq healthcheck
}

help() {
echo "Redash Docker."
echo ""
Expand All @@ -54,7 +50,6 @@ help() {
echo "dev_worker -- start a single RQ worker with code reloading"
echo "scheduler -- start an rq-scheduler instance"
echo "dev_scheduler -- start an rq-scheduler instance with code reloading"
echo "rq_healthcheck -- runs a RQ healthcheck that verifies that all local workers are active. Useful for Docker's HEALTHCHECK mechanism."
echo ""
echo "shell -- open shell"
echo "dev_server -- start Flask development server with debugger and auto reload"
Expand Down Expand Up @@ -96,9 +91,9 @@ case "$1" in
shift
dev_worker
;;
rq_healthcheck)
celery_healthcheck)
shift
rq_healthcheck
echo "DEPRECATED: Celery has been replaced with RQ and now performs healthchecks autonomously as part of the 'worker' entrypoint."
;;
dev_server)
export FLASK_DEBUG=1
Expand Down

0 comments on commit b0f1cdd

Please sign in to comment.