mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 03:24:01 +03:00
Merge pull request #3263 from pydanny/luzfcb-celery-heroku-REMAP_SIGTERM
Define REMAP_SIGTERM=SIGQUIT on Profile of Celery on Heroku
This commit is contained in:
commit
c91464c7de
|
@ -5,6 +5,6 @@ web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
|
||||||
web: gunicorn config.wsgi:application
|
web: gunicorn config.wsgi:application
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_celery == "y" -%}
|
{%- if cookiecutter.use_celery == "y" -%}
|
||||||
worker: celery worker --app=config.celery_app --loglevel=info
|
worker: REMAP_SIGTERM=SIGQUIT celery worker --app=config.celery_app --loglevel=info
|
||||||
beat: celery beat --app=config.celery_app --loglevel=info
|
beat: REMAP_SIGTERM=SIGQUIT celery beat --app=config.celery_app --loglevel=info
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user