소스 검색

Stresstests: Enable fanout_patterns for redis config template

Ask Solem 11 년 전
부모
커밋
5ecc16f070
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      funtests/stress/stress/templates.py

+ 4 - 1
funtests/stress/stress/templates.py

@@ -73,7 +73,10 @@ class redis(default):
     CELERY_RESULT_BACKEND = os.environ.get(
         'CSTRESS_BACKEND', 'redis://?new_join=1',
     )
-    BROKER_TRANSPORT_OPTIONS = {'fanout_prefix': True}
+    BROKER_TRANSPORT_OPTIONS = {
+        'fanout_prefix': True,
+        'fanout_patterns': True,
+    }
 
 
 @template()