diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-05-28 12:02:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 12:02:52 (GMT) |
commit | 9a7e5b1b42abcedb895b1ce49d83fe067d01835c (patch) | |
tree | ed8b62255e53b785f13dd4130b2d22540b352aed /Misc/NEWS.d | |
parent | 293e9f86b8d10fcd88d6a2015babae76e9a8bd8f (diff) | |
download | cpython-9a7e5b1b42abcedb895b1ce49d83fe067d01835c.zip cpython-9a7e5b1b42abcedb895b1ce49d83fe067d01835c.tar.gz cpython-9a7e5b1b42abcedb895b1ce49d83fe067d01835c.tar.bz2 |
bpo-35279: reduce default max_workers of ThreadPoolExecutor (GH-13618)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-05-28-19-14-29.bpo-35279.PX7yl9.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-28-19-14-29.bpo-35279.PX7yl9.rst b/Misc/NEWS.d/next/Library/2019-05-28-19-14-29.bpo-35279.PX7yl9.rst new file mode 100644 index 0000000..41ee5c2 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-28-19-14-29.bpo-35279.PX7yl9.rst @@ -0,0 +1,3 @@ +Change default *max_workers* of ``ThreadPoolExecutor`` from ``cpu_count() * +5`` to ``min(32, cpu_count() + 4))``. Previous value was unreasonably +large on many cores machines. |