mirror of https://github.com/rq/rq.git
asyncbackground-jobsdelayed-jobsdelayed-tasksjob-queuepythonredisrqstarred-repostarred-rq-repotasktask-queueworkers
a5a8925608
To put messages on queues, use this: @job('normal') def foo(x, y): return x + y foo.delay(4, 5) To run workers, start any number of these: $ python runworker.py high normal low You can give arbitrary queue names, they are not limited to these priority-based names. They just serve as a useful example. |
||
---|---|---|
__init__.py | ||
daemon.py | ||
worker.py |