mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 13:38:12 +08:00
docs: small edits
This commit is contained in:
+3
-2
@@ -25,7 +25,7 @@ Installation
|
|||||||
Configuration
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Configuration is handled via the `Q_ClUSTER` dictionary in your :file:`settings.py`
|
Configuration is handled via the `Q_CLUSTER` dictionary in your :file:`settings.py`
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
@@ -37,6 +37,7 @@ Configuration is handled via the `Q_ClUSTER` dictionary in your :file:`settings.
|
|||||||
'timeout': 60,
|
'timeout': 60,
|
||||||
'compress': True,
|
'compress': True,
|
||||||
'save_limit': 250,
|
'save_limit': 250,
|
||||||
|
'cpu_affinity': 1,
|
||||||
'label': 'Django Q',
|
'label': 'Django Q',
|
||||||
'redis': {
|
'redis': {
|
||||||
'host': '127.0.0.1',
|
'host': '127.0.0.1',
|
||||||
@@ -204,7 +205,7 @@ Optional
|
|||||||
~~~~~~~~
|
~~~~~~~~
|
||||||
.. _psutil:
|
.. _psutil:
|
||||||
|
|
||||||
- `Psutil <https://github.com/giampaolo/psutil>`__ Giampaolo Rodola's python system and process utilities module, is an optional requirement and adds cpu affinity settings to the cluster::
|
- `Psutil <https://github.com/giampaolo/psutil>`__ python system and process utilities module by Giampaolo Rodola', is an optional requirement and adds cpu affinity settings to the cluster::
|
||||||
|
|
||||||
$ pip install psutil
|
$ pip install psutil
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user