Update index.md (#1306)

main
Zhicheng Cai 4 years ago committed by GitHub
parent 49b156ecc7
commit a62b762200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,6 +115,7 @@ redis_conn = Redis()
q = Queue(connection=redis_conn)
# Getting the number of jobs in the queue
# Note: Only queued jobs are counted, not including deferred ones
print(len(q))
# Retrieving jobs

Loading…
Cancel
Save