diff options
author | Yury Selivanov <yury@magic.io> | 2016-10-21 21:40:42 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-10-21 21:40:42 (GMT) |
commit | e8a6045fea844f561021c2fd8ffd965749026699 (patch) | |
tree | 43f62ad5e679a2128600e9084a48837ca727ff12 /Doc/library/asyncio-eventloop.rst | |
parent | 9f91e858ce64c93936c904ee522b3fcaefd159d4 (diff) | |
download | cpython-e8a6045fea844f561021c2fd8ffd965749026699.zip cpython-e8a6045fea844f561021c2fd8ffd965749026699.tar.gz cpython-e8a6045fea844f561021c2fd8ffd965749026699.tar.bz2 |
Issue #26796: Don't configure the number of workers for default threadpool executor.
Initial patch by Hans Lawrenz.
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 202da5a..ba52d9b 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -670,6 +670,13 @@ pool of processes). By default, an event loop uses a thread pool executor This method is a :ref:`coroutine <coroutine>`. + .. versionchanged:: 3.5.3 + :meth:`BaseEventLoop.run_in_executor` no longer configures the + ``max_workers`` of the thread pool executor it creates, instead + leaving it up to the thread pool executor + (:class:`~concurrent.futures.ThreadPoolExecutor`) to set the + default. + .. method:: AbstractEventLoop.set_default_executor(executor) Set the default executor used by :meth:`run_in_executor`. |