Merge pull request #18 from Koed00/dev

Adds a `timeout` override per task
This commit is contained in:
Ilan Steemers
2015-07-16 21:57:47 +02:00
4 changed files with 68 additions and 11 deletions
+3 -1
View File
@@ -65,11 +65,13 @@ recycle
The number of tasks a worker will process before recycling . Useful to release memory resources on a regular basis. Defaults to ``500``.
.. _timeout:
timeout
~~~~~~~
The number of seconds a worker is allowed to spend on a task before it's terminated. Defaults to ``None``, meaning it will never time out.
Set this to something that makes sense for your project.
Set this to something that makes sense for your project. Can be overridden for individual tasks.
compress
~~~~~~~~