Skip to content

Commit

Permalink
Note on gevent time limit support (celery#6892)
Browse files Browse the repository at this point in the history
I only learned this from celery#1958 which requests a doc update to make this clearer.
  • Loading branch information
tomharvey authored Aug 4, 2021
1 parent 1c477c4 commit 186fa47
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/userguide/workers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Time Limits

.. versionadded:: 2.0

:pool support: *prefork/gevent*
:pool support: *prefork/gevent (see note below)*

.. sidebar:: Soft, or hard?

Expand Down Expand Up @@ -474,6 +474,11 @@ Time limits can also be set using the :setting:`task_time_limit` /
Time limits don't currently work on platforms that don't support
the :sig:`SIGUSR1` signal.

.. note::

The gevent pool does not implement soft time limits. Additionally,
it will not enforce the hard time limit if the task is blocking.


Changing time limits at run-time
--------------------------------
Expand Down

0 comments on commit 186fa47

Please sign in to comment.