Nam Nguyen <bits...@gmail.com> added the comment: I used the ThreadPoolExecutor to process a large number (bounded) of input/output jobs. Because there were too many of them and the worker threads could not process them fast enough to drain them from the queue, the queue kept increasing in size.
It was okay for the script, though, to block, waiting for the queue to drain, before submitting new jobs. So I needed to limit the queue size. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14119> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com