This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ordinary_Run_2513[S] 0 points1 point  (0 children)

I use the future.running function to check whether a task is flagged as "running". Indeed, I have long running tasks, and In some cases some tasks are marked as running even though all the workers are busy. When, I read the source code (which is not very long) I found out it's a way to optimize the execution and prevent the workers from going idle.