Browse Source

Merge branch 'gvangool/docs_update'

Ask Solem 15 năm trước cách đây
mục cha
commit
c263dd4a2c
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      celery/platforms.py
  2. 2 2
      docs/userguide/tasks.rst

+ 1 - 1
celery/platforms.py

@@ -50,7 +50,7 @@ def install_signal_handler(signal_name, handler):
 def set_process_title(progname, info=None):
 def set_process_title(progname, info=None):
     """Set the ps name for the currently running process.
     """Set the ps name for the currently running process.
 
 
-    Only works if :mod`setproctitle` is installed.
+    Only works if :mod:`setproctitle` is installed.
 
 
     """
     """
     proctitle = "[%s]" % progname
     proctitle = "[%s]" % progname

+ 2 - 2
docs/userguide/tasks.rst

@@ -198,7 +198,7 @@ Task options
 * max_retries
 * max_retries
 
 
     The maximum number of attempted retries before giving up.
     The maximum number of attempted retries before giving up.
-    If this is exceeded the :exc`~celery.exceptions.MaxRetriesExceeded`
+    If this is exceeded the :exc:`~celery.exceptions.MaxRetriesExceeded`
     exception will be raised. Note that you have to retry manually, it's
     exception will be raised. Note that you have to retry manually, it's
     not something that happens automatically.
     not something that happens automatically.
 
 
@@ -206,7 +206,7 @@ Task options
 
 
     Default time in seconds before a retry of the task should be
     Default time in seconds before a retry of the task should be
     executed. Can be either an ``int`` or a ``float``.
     executed. Can be either an ``int`` or a ``float``.
-    Default is a 1 minute delay (``60 seconds``).
+    Default is a 3 minute delay (``180 seconds``).
 
 
 * rate_limit
 * rate_limit