Explorar o código

Stresstests: Enable fanout_patterns for redis config template

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
5ecc16f070
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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()