From 43d775878d82bee725c973c89e9b79e3e9e3bd36 Mon Sep 17 00:00:00 2001 From: Mahdi Zareie Date: Mon, 6 Feb 2017 11:47:59 +0330 Subject: [PATCH] Doc: improve formatting --- docs/index.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6b9ad61..cd0ebf5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -201,20 +201,20 @@ 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: ```