Sfoglia il codice sorgente

Improved sentences around enabling synchronous subtasks. (#4940)

Brett Randall 6 anni fa
parent
commit
18d2d7df79
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      docs/userguide/tasks.rst

+ 3 - 3
docs/userguide/tasks.rst

@@ -1728,10 +1728,10 @@ different :func:`~celery.signature`'s.
 You can read about chains and other powerful constructs
 at :ref:`designing-workflows`.
 
-By default Celery will not enable you to run tasks within task synchronously
-in rare or extreme cases you might have to do so.
+By default Celery will not allow you to run subtasks synchronously within a task,
+but in rare or extreme cases you might need to do so.
 **WARNING**:
-enabling subtasks run synchronously is not recommended!
+enabling subtasks to run synchronously is not recommended!
 
 .. code-block:: python