Message162604
Currently, ProcessionPoolExecutor has this line in its constructor:
self._call_queue = multiprocessing.Queue(self._max_workers +
EXTRA_QUEUED_CALLS)
where EXTRA_QUEUED_CALLS is 1.
And yes, it would be best to export a method so that the app developer can set the queue size for themselves. In my case, I would want to limit the queue so that I dont run out of memory. Others might not want the queue to block, and hence would prefer an unlimited queue. |
|
Date |
User |
Action |
Args |
2012-06-11 03:56:36 | Nam.Nguyen | set | recipients:
+ Nam.Nguyen, bquinlan, r.david.murray |
2012-06-11 03:56:36 | Nam.Nguyen | set | messageid: <1339386996.52.0.563942456588.issue14119@psf.upfronthosting.co.za> |
2012-06-11 03:56:35 | Nam.Nguyen | link | issue14119 messages |
2012-06-11 03:56:35 | Nam.Nguyen | create | |
|