How to control parallel or synchronous execution based on task type #1329
Unanswered
v2boardbot
asked this question in
Q&A
Replies: 1 comment
-
Hi! I am not sure, what behavior you expect: If you set it to But, you can figure out something with |
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
-
Consumer code:
If the action is send_message, I want to sleep for a while after completion and continue to execute the task of action send_message, but the tasks of other actions should be processed immediately.
broker = RabbitBroker('xxxxx', max_consumers=1)
When I set max_consumers to 1, other action tasks will also be queued for processing.
Beta Was this translation helpful? Give feedback.
All reactions