Message248732
| Author | Matt Spitz |
|---|---|
| Recipients | Matt Spitz |
| Date | 2015-08-17.14:59:00 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1439823540.4.0.657998470812.issue24882@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
https://hg.python.org/cpython/file/3.4/Lib/concurrent/futures/thread.py#l114 ThreadPoolExecutor will keep spawning new threads, even if existing threads are waiting for new work. We should check against the queue length when deciding to spawn a new thread to avoid creating unnecessary threads. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-08-17 14:59:00 | Matt Spitz | set | recipients: + Matt Spitz |
| 2015-08-17 14:59:00 | Matt Spitz | set | messageid: <1439823540.4.0.657998470812.issue24882@psf.upfronthosting.co.za> |
| 2015-08-17 14:59:00 | Matt Spitz | link | issue24882 messages |
| 2015-08-17 14:59:00 | Matt Spitz | create | |