Explorar o código

Timeouts message field is an extension

Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
219e03f7c1
Modificáronse 1 ficheiros con 9 adicións e 8 borrados
  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
     will be expired when the message is received and the expiration date
     has been exceeded.
     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
 Extensions
 ==========
 ==========
 
 
@@ -107,6 +99,15 @@ to process it.
 
 
     A list of subtasks to apply if an error occurs while executing the task.
     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
 Example message
 ===============
 ===============