docs: small edits

This commit is contained in:
Ilan
2015-07-16 18:32:45 +02:00
parent 218b6a9795
commit c0ea483784
+3 -2
View File
@@ -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