From d697d3dfedd2ccba680f4750631c825e234e4b85 Mon Sep 17 00:00:00 2001 From: Mahdi Zareie Date: Mon, 6 Feb 2017 11:52:03 +0330 Subject: [PATCH] Doc: improve formatting --- docs/index.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6472a5f..cbcc917 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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