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
243
243
See the :ref: `concurrency and multithreading <asyncio-multithreading >`
244
244
section of the documentation.
245
245
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.
249
249
250
250
.. _asyncio-pass-keywords :
251
251
@@ -1391,6 +1391,14 @@ Enabling debug mode
1391
1391
The new :ref: `Python Development Mode <devmode >` can now also be used
1392
1392
to enable the debug mode.
1393
1393
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
+
1394
1402
.. seealso ::
1395
1403
1396
1404
The :ref: `debug mode of asyncio <asyncio-debug-mode >`.
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ Doc/library/__future__.rst
34
34
Doc/library/abc.rst
35
35
Doc/library/aifc.rst
36
36
Doc/library/ast.rst
37
- Doc
478F
/library/asyncio-dev.rst
38
37
Doc/library/asyncio-eventloop.rst
39
38
Doc/library/asyncio-extending.rst
40
39
Doc/library/asyncio-policy.rst
You can’t perform that action at this time.
0 commit comments