MCPcopy Index your code
hub / github.com/coleifer/huey / queue_size

Method queue_size

huey/storage.py:890–892  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

888 return data
889
890 def queue_size(self):
891 return self.sql('select count(id) from task where queue=?',
892 (self.name,), results=True)[0][0]
893
894 def enqueued_items(self, limit=None):
895 sql = 'select data from task where queue=? order by priority desc, id'

Callers

nothing calls this directly

Calls 1

sqlMethod · 0.80

Tested by

no test coverage detected