File tree 2 files changed +11
-4
lines changed
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 @@ -30,7 +30,6 @@ Doc/howto/logging.rst
30
30
Doc/howto/urllib2.rst
31
31
Doc/library/abc.rst
32
32
Doc/library/ast.rst
33
- Doc/library/asyncio-dev.rst
34
33
Doc/library/asyncio-eventloop.rst
35
34
Doc/library/asyncio-extending.rst
36
35
Doc/library/asyncio-policy.rst
You can’t perform that action at this time.
0 commit comments