我使用过rq和 RedisToGo。如何获取队列中的作业数量?我在文档中找不到它?(Python)
当我尝试时:
print "Before: ", len(q.jobs) result = q.enqueue(worker.A) result = q.enqueue(worker.B) print "After: ", len(q.jobs)
两次都只给出 0。
python resque
python ×1
resque ×1