mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-23 04:38:12 +08:00
#56 fakes setting cpu_affinity on unsupported platforms
This commit is contained in:
@@ -269,6 +269,8 @@ As a rule of thumb; cpu_affinity 1 favors repetitive short running tasks, while
|
||||
|
||||
The ``cpu_affinity`` setting requires the optional :ref:`psutil <psutil>` module.
|
||||
|
||||
*Psutil does not support cpu affinity on OS X at this time.*
|
||||
|
||||
.. py:module:: django_q
|
||||
|
||||
.. rubric:: Footnotes
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ In this example the user requests a report and we let the cluster do the generat
|
||||
task.result)
|
||||
|
||||
|
||||
The hook is practical here, cause it allows us to detach the sending task from the report generation function and to report on possible failures.
|
||||
The hook is practical here, because it allows us to detach the sending task from the report generation function and to report on possible failures.
|
||||
|
||||
Haystack
|
||||
========
|
||||
|
||||
Reference in New Issue
Block a user