Repository navigation
Makes regen less greedy - #6589
Conversation
Might fix celery#4298. This was originally part of celery#6576.
|
@mjhoffman65 - apologies for the delay in getting #6542 in so you didn't need to worry about it. Just checking in quickly, can you tell me if this is significantly different from #6542 in any way other than rolling in the feedback from @auvipy about |
you can push on this pr branch too. both of you get credit O:) |
@maybe-sybr @auvipy I don't think this is different than #6542 other than the |
|
This pull request fixes 1 alert when merging f0d4f2e into f9b0231 - view on LGTM.com fixed alerts:
|
|
In which case I'll just note that we didn't change to using a |
|
FYI,
I missed that, I'll make another PR for it. |
| self.consumed_second_item = False | ||
| g = regen(build_generator()) | ||
| assert bool(g) | ||
| assert g[0] == 1 |
There was a problem hiding this comment.
Thanks for the test. I wasn't sure this was working correctly :)
* Makes regen less greedy Might fix celery#4298. This was originally part of celery#6576. * adds assertion to ensure regen item is not lost
Might fix #4298. This was originally part of #6576 (#6576 (review)). Related to #6542