Browse Source

Changes stresstest config

Ask Solem 12 năm trước cách đây
mục cha
commit
d6ac06b926
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      funtests/stress/stress.py

+ 2 - 2
funtests/stress/stress.py

@@ -47,11 +47,11 @@ Celery stress-suite v{version}
 """
 
 app = Celery(
-    'stress', broker='pyamqp://', backend='redis://',
+    'stress', broker='amqp://', backend='redis://',
     set_as_current=False,
 )
 app.conf.update(
-    CELERYD_PREFETCH_MULTIPLIER=1,
+    CELERYD_PREFETCH_MULTIPLIER=10,
 )