mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-29 18:18:12 +08:00
adds (approximate) lock_size to SQS broker
docs: added lock_size
This commit is contained in:
@@ -129,6 +129,11 @@ You can override this class if you want to contribute and support your own broke
|
||||
|
||||
Returns the amount of messages in the brokers queue.
|
||||
|
||||
.. py:method:: lock_size()
|
||||
|
||||
Optional method that returns the number of messages currently awaiting acknowledgement.
|
||||
Only implemented on brokers that support it.
|
||||
|
||||
.. py:method:: ping()
|
||||
|
||||
Returns True if the broker can be reached.
|
||||
|
||||
Reference in New Issue
Block a user