Browse Source

Merge branch 'master' of github.com:celery/celery

Ask Solem 9 năm trước cách đây
mục cha
commit
acb6db9aa5
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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