Vincent Driessen
5c4163400e
Update README.md
2011-11-14 18:40:12 +01:00
Vincent Driessen
5be9a41f3d
Getting the facts right, here.
2011-11-14 18:35:41 +01:00
Vincent Driessen
9b51083fd2
Add example and README updates.
2011-11-14 15:15:05 +01:00
Vincent Driessen
05e83c5231
Add a very minor beginning to the test cases.
2011-11-14 14:18:21 +01:00
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())
2011-11-14 14:17:30 +01:00
Vincent Driessen
d8d388c841
Log the results of jobs.
2011-11-14 12:24:48 +01:00
Vincent Driessen
f21b2af2b6
Make it an actual PyPI-managable Python package.
2011-11-14 12:16:28 +01:00
Vincent Driessen
c45e056786
Add some project meta stuff.
2011-11-14 12:11:58 +01:00
Vincent Driessen
5eadd5ef52
Factor out a Queue object.
...
It might be useful to add some methods to that object, later.
2011-11-14 09:40:58 +01:00
Vincent Driessen
834a79814e
Rename task -> job.
...
Just a gift from a non-mainframe guy to a mainframe guy. Love is all
about giving ;)
2011-11-13 22:32:35 +01:00
Vincent Driessen
a5a8925608
Add an actual awesome worker structure.
...
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.
2011-11-13 22:19:09 +01:00
Vincent Driessen
606f7f7cb3
Fix expire call.
2011-11-13 14:59:34 +01:00
Vincent Driessen
374c95f7a2
It ain't *that* naive ;)
2011-11-12 13:29:26 +01:00
Vincent Driessen
3aae096ac2
Made a beginning to a Python module structure to support Redis queue.
...
@henrikuiper: Go ahead and experiment with this setup ;)
2011-11-11 17:18:06 +01:00