File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -243,9 +243,9 @@ Scheduling callbacks
243243 See the :ref: `concurrency and multithreading <asyncio-multithreading >`
244244 section of the documentation.
245245
246- .. versionchanged :: 3.7
247- The *context * keyword-only parameter was added. See :pep: `567 `
248- for more details.
246+ .. versionchanged :: 3.7
247+ The *context * keyword-only parameter was added. See :pep: `567 `
248+ for more details.
249249
250250.. _asyncio-pass-keywords :
251251
@@ -1391,6 +1391,14 @@ Enabling debug mode
13911391 The new :ref: `Python Development Mode <devmode >` can now also be used
13921392 to enable the debug mode.
13931393
1394+ .. attribute :: loop.slow_callback_duration
1395+
1396+ This attribute can be used to set the
1397+ minimum execution duration in seconds that is considered "slow".
1398+ When debug mode is enabled, "slow" callbacks are logged.
1399+
1400+ Default value is 100 milliseconds.
1401+
13941402.. seealso ::
13951403
13961404 The :ref: `debug mode of asyncio <asyncio-debug-mode >`.
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ Doc/howto/logging.rst
3030Doc/howto/urllib2.rst
3131Doc/library/abc.rst
3232Doc/library/ast.rst
33- Doc/library/asyncio-dev.rst
3433Doc/library/asyncio-eventloop.rst
3534Doc/library/asyncio-extending.rst
3635Doc/library/asyncio-policy.rst
You can’t perform that action at this time.
0 commit comments