Skip to content

Commit

Permalink
Doc: improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi Zareie committed Feb 6, 2017
1 parent 3ccba2a commit d697d3d
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,23 @@ in this particular example which we are using RabbitMQ the following options are
* queue_name : name of rabbitMQ queue to use for transferring messages between main process and workers
* serialization_method : method of serialization , could be :code:`json` or *pickle*
* rabbitmq_configs : configurations related to rabbitmq , following is an example configuration:
```
{
"connection_pool_configs": {
"max_size": 10,
"max_overflow": 10,
"timeout": 10,
"recycle": 3600,
"stale": 45
},
"connection_parameters": {
"host": "127.0.0.1"
}
```
{
"connection_pool_configs": {
"max_size": 10,
"max_overflow": 10,
"timeout": 10,
"recycle": 3600,
"stale": 45
},
"connection_parameters": {
"host": "127.0.0.1"
}
```
}
```

####2. call init() in wsgi.py

open your wsgi.py file and add the following:
```
import easy_job as easy_job
Expand Down

0 comments on commit d697d3d

Please sign in to comment.