Message162604
| Author |
Nam.Nguyen |
| Recipients |
Nam.Nguyen, bquinlan, r.david.murray |
| Date |
2012年06月11日.03:56:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339386996.52.0.563942456588.issue14119@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|