Reformat Markdown for Python highlighting.

main
Vincent Driessen 13 years ago
parent 4d2157cdb5
commit f3890c85a0

@ -10,7 +10,9 @@ easily.
First, run a Redis server, of course: First, run a Redis server, of course:
```console
$ redis-server $ redis-server
```
To put jobs on queues, you don't have to do anything special, just define To put jobs on queues, you don't have to do anything special, just define
your typically lengthy or blocking function: your typically lengthy or blocking function:
@ -48,11 +50,13 @@ For a more complete example, refer to the [docs][d]. But this is the essence.
To start executing enqueued function calls in the background, start a worker To start executing enqueued function calls in the background, start a worker
from your project's directory: from your project's directory:
```console
$ rqworker $ rqworker
*** Listening for work on default *** Listening for work on default
Got count_words_at_url('http://nvie.com') from default Got count_words_at_url('http://nvie.com') from default
Job result = 818 Job result = 818
*** Listening for work on default *** Listening for work on default
```
That's about it. That's about it.

Loading…
Cancel
Save