Parcourir la source

Documents new timeout protocol field

Mher Movsisyan il y a 13 ans
Parent
commit
1f13630477
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      docs/internals/protocol.rst

+ 7 - 0
docs/internals/protocol.rst

@@ -54,6 +54,13 @@ 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
 ==========
 ==========