Reformat Markdown for Python highlighting.

This commit is contained in:
Vincent Driessen 2012-08-03 15:04:18 +02:00
parent 4d2157cdb5
commit f3890c85a0
1 changed files with 25 additions and 21 deletions

View File

@ -10,7 +10,9 @@ easily.
First, run a Redis server, of course:
```console
$ redis-server
```
To put jobs on queues, you don't have to do anything special, just define
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
from your project's directory:
```console
$ rqworker
*** Listening for work on default
Got count_words_at_url('http://nvie.com') from default
Job result = 818
*** Listening for work on default
```
That's about it.