Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zrail
on June 18, 2014
|
parent
|
context
|
favorite
| on:
Celery – Best Practices
Small typo where you define `CELERY_ROUTES`. `my_taskA` should probably have the routing key `for_task_A`, right?
denibertovic
on June 18, 2014
[–]
Not really, that's just the name of the actual task itself ie. "def my_taskA(a, b, c)".
zrail
on June 18, 2014
|
parent
[–]
This line `'my_taskA': {'queue': 'for_task_A', 'routing_key': 'for_task_B'},` "for_task_B" should be "for_task_A" to match the CELERY_QUEUES definition. Unless I'm misunderstanding what you're doing, of course.
denibertovic
on June 18, 2014
|
root
|
parent
[–]
Ah no, you got that one perfectly I just didn't understand what was meant at first. Fixed. Thank you.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: