mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
7d10edd32c
Replace -c2 in Procfile.heroku with -c${REDASH_HEROKU_CELERY_WORKER_COUNT:-2}. This reads from the environment variable REDASH_HEROKU_CELERY_WORKER_COUNT and uses the value of that if set, otherwise defaults to 2. Add REDASH_HEROKU_CELERY_WORKER_COUNT to the settings page.
3 lines
184 B
Plaintext
3 lines
184 B
Plaintext
web: ./manage.py runserver -d -r -p $PORT --host 0.0.0.0
|
|
worker: celery worker --app=redash.worker -c${REDASH_HEROKU_CELERY_WORKER_COUNT:-2} --beat -Q queries,celery,scheduled_queries
|