Skip to content

About

Spawn RQ Workers automatically

Topics

Resources

Stars

11 stars

Watchers

15 watching

Forks

Repository files navigation

AutoWorker

https://github.com/gisce/autoworker/actions/workflows/python2-app.yml/badge.svg?branch=master https://github.com/gisce/autoworker/actions/workflows/python3-app.yml/badge.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)

Workers log the queue name and job ID when starting a job. Job descriptions are disabled to avoid logging arguments that may contain configuration secrets.

About

Spawn RQ Workers automatically

Topics

Resources

Stars

11 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages