Conversation
It is possible for this call to hang, like the other calls in this function. Passing through the timeout removes that possibility
RonnyPfannschmidt
left a comment
There was a problem hiding this comment.
This looks a bit like each action is getting 2 spawns (one outer,one inner)
The invocation nesting Looks incorrect
|
@JCourt1 do you have a example of the hang? the code in question should pass in all cases for threading, is there a different execmodel involved (the killfunc has a own timeout that should apply) |
Yes I agree with you in principle, I was confused by this. I can say though that empirically I am hitting the issue... Unfortunately I'm not able to reproduce this in a minimal example outside of the codebase I am encountering it in. It's through pytest-xdist, and I think that does just use "thread" as the execmodel. I just hit it again actually: re. this:
I get the impression that it is that way just to allow the |
|
I believe the intent was to complete all Tasks from the pool Its unclear what's is needed for the other backends |
It is possible for this call to hang, like the other calls in this function. Passing through the timeout removes that possibility.
This was first noted on #43