소스 검색

Describe the `virtual_host` parameter

Add details about changing the database number while using UNIX 
socket with a Redis broker.
Alexandru Chirila 9 년 전
부모
커밋
868d4b17a5
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      docs/getting-started/brokers/redis.rst

+ 5 - 0
docs/getting-started/brokers/redis.rst

@@ -38,6 +38,11 @@ If a unix socket connection should be used, the URL needs to be in the format::
 
     redis+socket:///path/to/redis.sock
 
+Specifying a different database while using a unix socket is possible by adding the 
+`virtual_host` parameter to the URL::
+
+    redis+socket:///path/to/redis.sock?virtual_host=db_number
+
 .. _redis-visibility_timeout:
 
 Visibility Timeout