Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 542 Bytes

README.rst

File metadata and controls

19 lines (12 loc) · 542 Bytes

AutoWorker

https://travis-ci.org/gisce/autoworker.svg?branch=master

Spawn RQ Workers automatically

from autoworker import AutoWorker
aw = AutoWorker(queue='high', max_procs=6)
aw.work()

Note: From v0.4.0 failed jobs doesn't go to the failed queue. If you want to enqueue to failed queue you should call AutoWorker as following

aw = AutoWorker(queue='high', max_procs=6, skip_failed=False)