Pārlūkot izejas kodu

Timeouts message field is an extension

Ask Solem 13 gadi atpakaļ
vecāks
revīzija
219e03f7c1
1 mainītis faili ar 9 papildinājumiem un 8 dzēšanām
  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
 ===============
 ===============