4 ms·
Does anyone else feel weird knowing that when you call that model method it may or may not call out to a background worker task? Why not just throw all of your
by rartichoke 13y ago
Does anyone else feel weird knowing that when you call that model method it may or may not call out to a background worker task?
Why not just throw all of your celery tasks that are related to an app inside of a worker.py file or something else?
If you import from service.py or worker.py then it becomes obvious the thing you're doing is happening in the background.