mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 07:18:12 +08:00
docs: added queue_limit information
This commit is contained in:
+2
-1
@@ -160,7 +160,8 @@ Afterwards the sentinel waits for the monitor to empty the result and then the s
|
||||
- Signal that we have stopped
|
||||
|
||||
.. warning::
|
||||
If you force the cluster to terminate before the stop procedure has completed, you can lose tasks or results still being held in the queues.
|
||||
If you force the cluster to terminate before the stop procedure has completed, you can lose tasks or results still being held in memory.
|
||||
You can manage the amount of tasks in a clusters memory by setting the :ref:`queue_limit`.
|
||||
|
||||
Reference
|
||||
---------
|
||||
|
||||
+1
-1
@@ -37,6 +37,7 @@ Configuration is handled via the ``Q_CLUSTER`` dictionary in your :file:`setting
|
||||
'timeout': 60,
|
||||
'compress': True,
|
||||
'save_limit': 250,
|
||||
'queue_limit: 500,
|
||||
'cpu_affinity': 1,
|
||||
'label': 'Django Q',
|
||||
'redis': {
|
||||
@@ -46,7 +47,6 @@ Configuration is handled via the ``Q_CLUSTER`` dictionary in your :file:`setting
|
||||
}
|
||||
|
||||
|
||||
|
||||
name
|
||||
~~~~
|
||||
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@ Reference
|
||||
|
||||
The pid of the pusher process
|
||||
|
||||
.. py:attribute:: monitormight
|
||||
.. py:attribute:: monitor
|
||||
|
||||
The pid of the monitor process
|
||||
|
||||
|
||||
Reference in New Issue
Block a user