celery task
#237
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,@wu-clan
There are several questions
1. The win system is running abnormally
Solution: celery/celery#4178
2. Import Exception
When I was testing the task of sending an email, an exception occurred:
KeyError: 'backend.app.tasks.send_active_email'
Request interface:
/api/v1/mixes/tests/send
KeyError: 'backend.app.tasks.task_demo_async'
3. Better control
Asynchronous tasks need to be monitored, you can consider introducing flower
https://docs.celeryq.dev/en/stable/userguide/monitoring.html#flower-real-time-celery-web-monitor
4. Retry if task fails
At present, task failure will be recorded, but it cannot be retried.
https://docs.celeryq.dev/en/stable/userguide/tasks.html#retrying
Prioritize retry_backoff
Beta Was this translation helpful? Give feedback.
All reactions