814 Commits (2bc2f447d31aa955bbd77c16873768e442f32031)

Author SHA1 Message Date
Vincent Driessen 196a9815d2 Add dequeue method to Queue. 14 years ago
Vincent Driessen b5e0377eb0 Allow jobs to be declared without a default queue.
This makes it impossible to use delay() on them.  Instead, you should
use enqueue().
14 years ago
Vincent Driessen 407f3e8b38 Add ability to put work on alternate queues. 14 years ago
Vincent Driessen 1b8da4a861 Add test for putting work on queues. 14 years ago
Vincent Driessen 8dfdd452ef Bugfix.
Yeah, it's getting late.

It's my own fault.

I know.
14 years ago
Vincent Driessen 04c88577ed Bugfix: LPOP does not support multiple queue arguments.
Redis' BLPOP command takes multiple queue arguments, but LPOP can only
take a single queue.  Therefore, we need to loop over all queues
manually, in order, and raise an exception is no more work is available.
14 years ago
Vincent Driessen a77c3d9104 Support quitting when all work is done (i.e. queue is empty). 14 years ago
Vincent Driessen 8dc2b15a6e Remove empty file.
It is obsoleted by rq/proxy.py
14 years ago
Vincent Driessen 98ffcd8e05 Create soft dependency on logbook. 14 years ago
Vincent Driessen 227e107a82 Oops, fix some old references to current_connection. 14 years ago
Vincent Driessen d721f0708b Refactor the whole Redis connection stuff to be just as easy as in RDB. 14 years ago
Vincent Driessen 518db8c24b Add better connection management.
To start using RQ, push a Redis connection up its stack, like so:

    from rq import push_connection
    push_connection(Redis())
14 years ago
Vincent Driessen d8d388c841 Log the results of jobs. 14 years ago
Vincent Driessen f21b2af2b6 Make it an actual PyPI-managable Python package. 14 years ago