You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for taskiq it’s an amazing project I’ve really been enjoying and recommending.
I’m using --max-async-tasks to limit the number of tasks to the amount of resources I have eg 1 task 1 CPU. However, I have to some tasks that use multiprocessing. Is it possible to dynamically set the “size” of a task so it takes up more of the max tasks or would you just do this via redis?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi @s3rius,
Thank you for taskiq it’s an amazing project I’ve really been enjoying and recommending.
I’m using
--max-async-tasks
to limit the number of tasks to the amount of resources I have eg 1 task 1 CPU. However, I have to some tasks that use multiprocessing. Is it possible to dynamically set the “size” of a task so it takes up more of the max tasks or would you just do this via redis?Beta Was this translation helpful? Give feedback.
All reactions