Message162606
| Author |
Nam.Nguyen |
| Recipients |
Nam.Nguyen, bquinlan, r.david.murray |
| Date |
2012年06月11日.04:46:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339389968.28.0.512523483247.issue14119@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月11日 04:46:08 | Nam.Nguyen | set | recipients:
+ Nam.Nguyen, bquinlan, r.david.murray |
| 2012年06月11日 04:46:08 | Nam.Nguyen | set | messageid: <1339389968.28.0.512523483247.issue14119@psf.upfronthosting.co.za> |
| 2012年06月11日 04:46:07 | Nam.Nguyen | link | issue14119 messages |
| 2012年06月11日 04:46:07 | Nam.Nguyen | create |
|