Просмотр исходного кода

Documents new timeout protocol field

Mher Movsisyan 13 лет назад
Родитель
Сommit
1f13630477
1 измененных файлов с 7 добавлено и 0 удалено
  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
 ==========
 ==========