Prechádzať zdrojové kódy

Timeouts message field is an extension

Ask Solem 12 rokov pred
rodič
commit
219e03f7c1
1 zmenil súbory, kde vykonal 9 pridanie a 8 odobranie
  1. 9 8
      docs/internals/protocol.rst

+ 9 - 8
docs/internals/protocol.rst

@@ -54,14 +54,6 @@ Message format
     will be expired when the message is received and the expiration date
     has been exceeded.
 
-* timeouts
-    :`tuple`:
-
-    .. versionadded:: 2.7
-
-    Task execution timeouts. This is a tuple of hard and soft timeouts.
-    Timeout values are `int` or `float`.
-
 Extensions
 ==========
 
@@ -107,6 +99,15 @@ to process it.
 
     A list of subtasks to apply if an error occurs while executing the task.
 
+* timeouts
+    :`tuple`:
+
+    .. versionadded:: 3.1
+
+    Task execution timeouts. This is a tuple of hard and soft timeouts.
+    Timeout values are `int` or `float`.
+
+
 Example message
 ===============