Browse Source

Update README.rst file to include CSTRESS_BROKER.

Roger Hu 10 năm trước cách đây
mục cha
commit
8753e2c52e
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      funtests/stress/README.rst

+ 7 - 0
funtests/stress/README.rst

@@ -153,6 +153,13 @@ See ``python -m stress --help`` for a list of all available options.
 Options
 =======
 
+Using a different broker
+------------------------
+You can set the environment ``CSTRESS_BROKER`` to change the broker used::
+
+    $ CSTRESS_BROKER='amqp://' celery -A stress worker # …
+    $ CSTRESS_BROKER='amqp://' python -m stress
+
 Using a different result backend
 --------------------------------