Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMapIterator stuck? #324

Open
yywing opened this issue Dec 14, 2020 · 0 comments
Open

IMapIterator stuck? #324

yywing opened this issue Dec 14, 2020 · 0 comments

Comments

@yywing
Copy link

yywing commented Dec 14, 2020

I review billiard/pool.py line 1957, and I found:

self._cond = threading.Condition(threading.Lock())
......
self._lost_worker_timeout = lost_worker_timeout
......
def next(self, timeout=None):
    with self._cond:
            ......
            self._cond.wait(timeout)
            ......

self._cond.wait not set timeout. Is it stuck in this place ?

maybe related celery/celery#4185

@yywing yywing changed the title IMapIterator stuch? IMapIterator stuck? Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant