mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-29 16:18:12 +08:00
adds queue_size()
returns the size of the current redis queue
This commit is contained in:
@@ -213,6 +213,14 @@ Reference
|
||||
|
||||
Renamed from get_task
|
||||
|
||||
.. py:function:: queue_size()
|
||||
|
||||
Returns the size of the broker queue.
|
||||
Note that this does not count tasks currently being processed.
|
||||
|
||||
:returns: The amount of task packages in the broker
|
||||
:rtype: int
|
||||
|
||||
.. py:function:: result_group(group_id, failures=False)
|
||||
|
||||
Returns the results of a task group
|
||||
|
||||
Reference in New Issue
Block a user