taskiq icon indicating copy to clipboard operation
taskiq copied to clipboard

Question about max prefetch

Open realitix opened this issue 1 year ago • 1 comments

I would like to know precisely how max_prefetch works. If I set workers = 6, for example, thus six worker processes, and I do not set max_prefetch, how will the task distribution among the 6 workers happen? Will a single worker retrieve all the tasks, or will the task distribution be balanced among the 6? For instance, if we have max_async_task set to 6, should max_prefetch also be set to 6 ?

Thanks

realitix avatar Jul 25 '24 21:07 realitix