Skip to content

Commit 1eb1044

Browse files
committed
Change the way we invoke Celery worker due to Celery 5
1 parent 5bd6125 commit 1eb1044

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
release: python manage.py migrate
22
web: gunicorn config.wsgi:application
3-
worker: REMAP_SIGTERM=SIGQUIT celery --without-gossip --without-mingle --without-heartbeat worker -A styleguide_example.tasks -l info
3+
worker: REMAP_SIGTERM=SIGQUIT celery -A styleguide_example.tasks worker -l info --without-gossip --without-mingle --without-heartbeat
44
beat: REMAP_SIGTERM=SIGQUIT celery -A styleguide_example.tasks beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ If you want to recreate your database, you can use the bootstrap script:
168168
To start Celery:
169169

170170
```
171-
celery --without-gossip --without-mingle --without-heartbeat worker -A styleguide_example.tasks -l info
171+
celery -A styleguide_example.tasks worker -l info --without-gossip --without-mingle --without-heartbeat
172172
```
173173

174174
To start Celery Beat:

0 commit comments

Comments
 (0)